GraphEvent<Event> class
- Implementers
- Annotations
-
- @freezed
Constructors
-
GraphEvent.collectionSnapshot({required EntryCollectionSnapshot<
Event> snapshot}) -
factory
- GraphEvent.upstreamEntry({required EntryRef entryRef})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> ({required TResult upstreamEntry(GraphEventUpstreamEntry< Event> value), required TResult collectionSnapshot(GraphEventEntryCollectionUpdate<Event> value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? upstreamEntry(GraphEventUpstreamEntry< Event> value)?, TResult? collectionSnapshot(GraphEventEntryCollectionUpdate<Event> value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult upstreamEntry(GraphEventUpstreamEntry< Event> value)?, TResult collectionSnapshot(GraphEventEntryCollectionUpdate<Event> value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult upstreamEntry(EntryRef entryRef)?, TResult collectionSnapshot(EntryCollectionSnapshot< Event> snapshot)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult upstreamEntry(EntryRef entryRef), required TResult collectionSnapshot(EntryCollectionSnapshot< Event> snapshot)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? upstreamEntry(EntryRef entryRef)?, TResult? collectionSnapshot(EntryCollectionSnapshot< Event> snapshot)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited