SubjectStatusView class
- Available extensions
- Annotations
-
- @freezed
Constructors
-
SubjectStatusView.new({@Default(toolsOzoneModerationDefsSubjectStatusView) @JsonKey(name: r'$type') String $type, required int id, @USubjectStatusViewSubjectConverter() required USubjectStatusViewSubject subject, List<
String> ? subjectBlobCids, String? subjectRepoHandle, required DateTime updatedAt, required DateTime createdAt, @USubjectReviewStateConverter() required USubjectReviewState reviewState, String? comment, DateTime? muteUntil, DateTime? muteReportingUntil, String? lastReviewedBy, DateTime? lastReviewedAt, DateTime? lastReportedAt, DateTime? lastAppealedAt, @Default(false) bool takendown, @Default(false) bool appealed, DateTime? suspendUntil, List<String> ? tags, @JsonKey(name: r'$unknown') Map<String, dynamic> ? $unknown}) -
constfactory
-
SubjectStatusView.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
- appealed → bool
-
True indicates that the a previously taken moderator action was
appealed against, by the author of the content. False indicates
last appeal was resolved by moderators.
no setterinherited
- comment → String?
-
Sticky comment on the subject.
no setterinherited
-
copyWith
→ $SubjectStatusViewCopyWith<
SubjectStatusView> -
no setterinherited
- createdAt → DateTime
-
Timestamp referencing the first moderation status impacting event
was emitted on the subject
no setterinherited
- hasComment → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifcomment
is not null, otherwise false.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasLastAppealedAt → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true iflastAppealedAt
is not null, otherwise false.no setter - hasLastReportedAt → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true iflastReportedAt
is not null, otherwise false.no setter - hasLastReviewedAt → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true iflastReviewedAt
is not null, otherwise false.no setter - hasLastReviewedBy → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true iflastReviewedBy
is not null, otherwise false.no setter - hasMuteReportingUntil → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifmuteReportingUntil
is not null, otherwise false.no setter - hasMuteUntil → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifmuteUntil
is not null, otherwise false.no setter - hasNotComment → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifcomment
is null, otherwise false.no setter - hasNotLastAppealedAt → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true iflastAppealedAt
is null, otherwise false.no setter - hasNotLastReportedAt → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true iflastReportedAt
is null, otherwise false.no setter - hasNotLastReviewedAt → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true iflastReviewedAt
is null, otherwise false.no setter - hasNotLastReviewedBy → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true iflastReviewedBy
is null, otherwise false.no setter - hasNotMuteReportingUntil → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifmuteReportingUntil
is null, otherwise false.no setter - hasNotMuteUntil → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifmuteUntil
is null, otherwise false.no setter - hasNotSubjectBlobCids → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifsubjectBlobCids
is null, otherwise false.no setter - hasNotSubjectRepoHandle → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifsubjectRepoHandle
is null, otherwise false.no setter - hasNotSuspendUntil → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifsuspendUntil
is null, otherwise false.no setter - hasNotTags → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true iftags
is null, otherwise false.no setter - hasNotUnknown → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true if this object has not unknown objects, otherwise false.no setter - hasSubjectBlobCids → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifsubjectBlobCids
is not null, otherwise false.no setter - hasSubjectRepoHandle → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifsubjectRepoHandle
is not null, otherwise false.no setter - hasSuspendUntil → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true ifsuspendUntil
is not null, otherwise false.no setter - hasTags → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true iftags
is not null, otherwise false.no setter - hasUnknown → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true if this object has unknown objects, otherwise false.no setter - id → int
-
no setterinherited
- isAppealed → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true or false fromappealed
.no setter - isNotAppealed → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns negated true or false fromappealed
.no setter - isNotTakendown → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns negated true or false fromtakendown
.no setter - isTakendown → bool
-
Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension
Returns true or false fromtakendown
.no setter - lastAppealedAt → DateTime?
-
Timestamp referencing when the author of the subject appealed a
moderation action
no setterinherited
- lastReportedAt → DateTime?
-
no setterinherited
- lastReviewedAt → DateTime?
-
no setterinherited
- lastReviewedBy → String?
-
no setterinherited
- muteReportingUntil → DateTime?
-
no setterinherited
- muteUntil → DateTime?
-
no setterinherited
- reviewState → USubjectReviewState
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → USubjectStatusViewSubject
-
no setterinherited
-
subjectBlobCids
→ List<
String> ? -
no setterinherited
- subjectRepoHandle → String?
-
no setterinherited
- suspendUntil → DateTime?
-
no setterinherited
-
no setterinherited
- takendown → bool
-
no setterinherited
- updatedAt → DateTime
-
Timestamp referencing when the last update was made to the
moderation status of the subject
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