ReportSubject class
https://atprotodart.com/docs/lexicons/com/atproto/moderation/createreport/#input https://atprotodart.com/docs/lexicons/com/atproto/moderation/createreport/#output
- Annotations
-
- @freezed
- @Deprecated('Use USubject')
Constructors
- ReportSubject.repoRef({required RepoRef data})
-
constfactory
- ReportSubject.strongRef({required StrongRef data})
-
constfactory
-
ReportSubject.unknown({required Map<
String, dynamic> data}) -
constfactory
Properties
Methods
-
map<
TResult extends Object?> ({required TResult repoRef(UReportSubjectRepoRef value), required TResult strongRef(UReportSubjectStrongRef value), required TResult unknown(UReportSubjectUnknown value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? repoRef(UReportSubjectRepoRef value)?, TResult? strongRef(UReportSubjectStrongRef value)?, TResult? unknown(UReportSubjectUnknown value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult repoRef(UReportSubjectRepoRef value)?, TResult strongRef(UReportSubjectStrongRef value)?, TResult unknown(UReportSubjectUnknown value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult repoRef(RepoRef data)?, TResult strongRef(StrongRef data)?, TResult unknown(Map< String, dynamic> data)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult repoRef(RepoRef data), required TResult strongRef(StrongRef data), required TResult unknown(Map< String, dynamic> data)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? repoRef(RepoRef data)?, TResult? strongRef(StrongRef data)?, TResult? unknown(Map< String, dynamic> data)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited