EventId class abstract
- Available extensions
- Annotations
-
- @freezed
Constructors
Properties
Methods
-
map<
TResult extends Object?> (TResult $default(_EventId value)) → TResult -
Available on EventId, provided by the EventIdPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_EventId value)?) → TResult? -
Available on EventId, provided by the EventIdPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_EventId value)?, {required TResult orElse()}) → TResult -
Available on EventId, provided by the EventIdPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String txDigest, String eventSeq)?, {required TResult orElse()}) → TResult -
Available on EventId, provided by the EventIdPatterns 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 EventId to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String txDigest, String eventSeq)) → TResult -
Available on EventId, provided by the EventIdPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String txDigest, String eventSeq)?) → TResult? -
Available on EventId, provided by the EventIdPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited