ModerationEmitEventInput class abstract
- Available extensions
- Annotations
-
- @freezed
Constructors
-
ModerationEmitEventInput.new({@UModerationEmitEventEventConverter() required UModerationEmitEventEvent event, @UModerationEmitEventSubjectConverter() required UModerationEmitEventSubject subject, List<
String> ? subjectBlobCids, required String createdBy, @ModToolConverter() ModTool? modTool, String? externalId, Map<String, dynamic> ? $unknown}) -
constfactory
-
ModerationEmitEventInput.fromJson(Map<
String, Object?> json) -
factory
Properties
-
$unknown
→ Map<
String, dynamic> ? -
no setterinherited
-
copyWith
→ $ModerationEmitEventInputCopyWith<
ModerationEmitEventInput> -
Create a copy of ModerationEmitEventInput
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdBy → String
-
no setterinherited
- event → UModerationEmitEventEvent
-
no setterinherited
- externalId → String?
-
An optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject.
no setterinherited
- hasExternalId → bool
-
Available on ModerationEmitEventInput, provided by the ModerationEmitEventInputExtension extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasModTool → bool
-
Available on ModerationEmitEventInput, provided by the ModerationEmitEventInputExtension extension
no setter - hasNotExternalId → bool
-
Available on ModerationEmitEventInput, provided by the ModerationEmitEventInputExtension extension
no setter - hasNotModTool → bool
-
Available on ModerationEmitEventInput, provided by the ModerationEmitEventInputExtension extension
no setter - modTool → ModTool?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → UModerationEmitEventSubject
-
no setterinherited
-
subjectBlobCids
→ List<
String> ? -
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_ModerationEmitEventInput value)) → TResult -
Available on ModerationEmitEventInput, provided by the ModerationEmitEventInputPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_ModerationEmitEventInput value)?) → TResult? -
Available on ModerationEmitEventInput, provided by the ModerationEmitEventInputPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_ModerationEmitEventInput value)?, {required TResult orElse()}) → TResult -
Available on ModerationEmitEventInput, provided by the ModerationEmitEventInputPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(UModerationEmitEventEvent event, UModerationEmitEventSubject subject, List< String> ? subjectBlobCids, String createdBy, ModTool? modTool, String? externalId, Map<String, dynamic> ? $unknown)?, {required TResult orElse()}) → TResult -
Available on ModerationEmitEventInput, provided by the ModerationEmitEventInputPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this ModerationEmitEventInput to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(UModerationEmitEventEvent event, UModerationEmitEventSubject subject, List< String> ? subjectBlobCids, String createdBy, ModTool? modTool, String? externalId, Map<String, dynamic> ? $unknown)) → TResult -
Available on ModerationEmitEventInput, provided by the ModerationEmitEventInputPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(UModerationEmitEventEvent event, UModerationEmitEventSubject subject, List< String> ? subjectBlobCids, String createdBy, ModTool? modTool, String? externalId, Map<String, dynamic> ? $unknown)?) → TResult? -
Available on ModerationEmitEventInput, provided by the ModerationEmitEventInputPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
knownProps
→ const List<
String>