when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult ahead(
    1. Iterable<Entry<Event>> entries
    ),
  2. required TResult behind(
    1. Set<EntryRef> entryRefs
    ),
  3. required TResult divergent(
    1. EntryRef entryRef,
    2. Iterable<Entry<Event>> entries,
    3. Set<EntryRef> base
    ),
  4. required TResult equal(),
  5. required TResult unknown(),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(Iterable<Entry<Event>> entries) ahead,
  required TResult Function(Set<EntryRef> entryRefs) behind,
  required TResult Function(EntryRef entryRef, Iterable<Entry<Event>> entries,
          Set<EntryRef> base)
      divergent,
  required TResult Function() equal,
  required TResult Function() unknown,
}) =>
    throw _privateConstructorUsedError;