ModEventView class

Available extensions
Annotations
  • @freezed

Constructors

ModEventView.new({@Default(toolsOzoneModerationDefsModEventView) @JsonKey(name: r'$type') String $type, required int id, @UModEventViewEventConverter() required UModEventViewEvent event, @UModEventViewSubjectConverter() required UModEventViewSubject subject, required List<String> subjectBlobCids, required String createdBy, required DateTime createdAt, String? creatorHandle, String? subjectHandle, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
ModEventView.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
copyWith → $ModEventViewCopyWith<ModEventView>
no setterinherited
createdAt DateTime
no setterinherited
createdBy String
no setterinherited
creatorHandle String?
no setterinherited
event UModEventViewEvent
no setterinherited
hasCreatorHandle bool

Available on ModEventView, provided by the $ModEventViewExtension extension

Returns true if creatorHandle is not null, otherwise false.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasNotCreatorHandle bool

Available on ModEventView, provided by the $ModEventViewExtension extension

Returns true if creatorHandle is null, otherwise false.
no setter
hasNotSubjectHandle bool

Available on ModEventView, provided by the $ModEventViewExtension extension

Returns true if subjectHandle is null, otherwise false.
no setter
hasNotUnknown bool

Available on ModEventView, provided by the $ModEventViewExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasSubjectHandle bool

Available on ModEventView, provided by the $ModEventViewExtension extension

Returns true if subjectHandle is not null, otherwise false.
no setter
hasUnknown bool

Available on ModEventView, provided by the $ModEventViewExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
id int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject UModEventViewSubject
no setterinherited
subjectBlobCids List<String>
no setterinherited
subjectHandle String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited