maybeWhen<TResult extends Object?> method

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

Implementation

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