ModEventEmail class

Available extensions
Annotations
  • @freezed

Constructors

ModEventEmail.new({@Default(toolsOzoneModerationDefsModEventEmail) @JsonKey(name: r'$type') String $type, required String subjectLine, String? content, String? comment, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
ModEventEmail.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
comment String?
Additional comment about the outgoing comm.
no setterinherited
content String?
The content of the email sent to the user.
no setterinherited
copyWith → $ModEventEmailCopyWith<ModEventEmail>
no setterinherited
hasComment bool

Available on ModEventEmail, provided by the $ModEventEmailExtension extension

Returns true if comment is not null, otherwise false.
no setter
hasContent bool

Available on ModEventEmail, provided by the $ModEventEmailExtension extension

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

Available on ModEventEmail, provided by the $ModEventEmailExtension extension

Returns true if comment is null, otherwise false.
no setter
hasNotContent bool

Available on ModEventEmail, provided by the $ModEventEmailExtension extension

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

Available on ModEventEmail, provided by the $ModEventEmailExtension extension

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

Available on ModEventEmail, provided by the $ModEventEmailExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subjectLine String
The subject line of the email sent to the user.
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