ActivityRow class abstract
- Available extensions
- Annotations
-
- @freezed
Constructors
-
ActivityRow({@Default.new('tools.ozone.report.queryModeratorActivity#activityRow') String $type, required String source, required int id, @JsonKey.new(toJson: iso8601) required DateTime createdAt, required String createdBy, required String type, String? subject, int? reportId, int? actionEventId, @ModEventViewConverter() ModEventView? event, @ReportActivityViewConverter() ReportActivityView? activity, Map<
String, dynamic> ? $unknown}) -
constfactory
-
ActivityRow.fromJson(Map<
String, Object?> json) -
factory
Properties
- $type → String
-
no setterinherited
-
$unknown
→ Map<
String, dynamic> ? -
no setterinherited
- actionEventId → int?
-
no setterinherited
- activity → ReportActivityView?
-
no setterinherited
-
copyWith
→ $ActivityRowCopyWith<
ActivityRow> -
Create a copy of ActivityRow
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdAt → DateTime
-
no setterinherited
- createdBy → String
-
no setterinherited
- event → ModEventView?
-
no setterinherited
- hasActionEventId → bool
-
Available on ActivityRow, provided by the ActivityRowExtension extension
no setter - hasActivity → bool
-
Available on ActivityRow, provided by the ActivityRowExtension extension
no setter - hasEvent → bool
-
Available on ActivityRow, provided by the ActivityRowExtension extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasNotActionEventId → bool
-
Available on ActivityRow, provided by the ActivityRowExtension extension
no setter - hasNotActivity → bool
-
Available on ActivityRow, provided by the ActivityRowExtension extension
no setter - hasNotEvent → bool
-
Available on ActivityRow, provided by the ActivityRowExtension extension
no setter - hasNotReportId → bool
-
Available on ActivityRow, provided by the ActivityRowExtension extension
no setter - hasNotSubject → bool
-
Available on ActivityRow, provided by the ActivityRowExtension extension
no setter - hasReportId → bool
-
Available on ActivityRow, provided by the ActivityRowExtension extension
no setter - hasSubject → bool
-
Available on ActivityRow, provided by the ActivityRowExtension extension
no setter - id → int
-
no setterinherited
- reportId → int?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
no setterinherited
- subject → String?
-
no setterinherited
- type → String
-
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_ActivityRow value)) → TResult -
Available on ActivityRow, provided by the ActivityRowPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_ActivityRow value)?) → TResult? -
Available on ActivityRow, provided by the ActivityRowPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_ActivityRow value)?, {required TResult orElse()}) → TResult -
Available on ActivityRow, provided by the ActivityRowPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String $type, String source, int id, DateTime createdAt, String createdBy, String type, String? subject, int? reportId, int? actionEventId, ModEventView? event, ReportActivityView? activity, Map< String, dynamic> ? $unknown)?, {required TResult orElse()}) → TResult -
Available on ActivityRow, provided by the ActivityRowPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this ActivityRow to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String $type, String source, int id, DateTime createdAt, String createdBy, String type, String? subject, int? reportId, int? actionEventId, ModEventView? event, ReportActivityView? activity, Map< String, dynamic> ? $unknown)) → TResult -
Available on ActivityRow, provided by the ActivityRowPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String $type, String source, int id, DateTime createdAt, String createdBy, String type, String? subject, int? reportId, int? actionEventId, ModEventView? event, ReportActivityView? activity, Map< String, dynamic> ? $unknown)?) → TResult? -
Available on ActivityRow, provided by the ActivityRowPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
knownProps
→ const List<
String>