EntryCompareResult<Event> class

Implementers
Annotations
  • @freezed

Constructors

EntryCompareResult.ahead({required Iterable<Entry<Event>> entries})
factory
EntryCompareResult.behind({required Set<EntryRef> entryRefs})
factory
EntryCompareResult.divergent({required EntryRef entryRef, required Iterable<Entry<Event>> entries, required Set<EntryRef> base})
factory
EntryCompareResult.equal()
factory
EntryCompareResult.unknown()
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 ahead(EntryCompareResultAhead<Event> value), required TResult behind(EntryCompareResultBehind<Event> value), required TResult divergent(EntryCompareResultDivergent<Event> value), required TResult equal(EntryCompareResultEqual<Event> value), required TResult unknown(EntryCompareResultUnknown<Event> value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? ahead(EntryCompareResultAhead<Event> value)?, TResult? behind(EntryCompareResultBehind<Event> value)?, TResult? divergent(EntryCompareResultDivergent<Event> value)?, TResult? equal(EntryCompareResultEqual<Event> value)?, TResult? unknown(EntryCompareResultUnknown<Event> value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult ahead(EntryCompareResultAhead<Event> value)?, TResult behind(EntryCompareResultBehind<Event> value)?, TResult divergent(EntryCompareResultDivergent<Event> value)?, TResult equal(EntryCompareResultEqual<Event> value)?, TResult unknown(EntryCompareResultUnknown<Event> value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult ahead(Iterable<Entry<Event>> entries)?, TResult behind(Set<EntryRef> entryRefs)?, TResult divergent(EntryRef entryRef, Iterable<Entry<Event>> entries, Set<EntryRef> base)?, TResult equal()?, TResult unknown()?, 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 ahead(Iterable<Entry<Event>> entries), required TResult behind(Set<EntryRef> entryRefs), required TResult divergent(EntryRef entryRef, Iterable<Entry<Event>> entries, Set<EntryRef> base), required TResult equal(), required TResult unknown()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? ahead(Iterable<Entry<Event>> entries)?, TResult? behind(Set<EntryRef> entryRefs)?, TResult? divergent(EntryRef entryRef, Iterable<Entry<Event>> entries, Set<EntryRef> base)?, TResult? equal()?, TResult? unknown()?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited