maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult append(
    1. EntryRef entryRef,
    2. Entry<Event> entry
    )?,
  2. TResult forward(
    1. EntryRef entryRef,
    2. Iterable<Entry<Event>> entries
    )?,
  3. TResult merge(
    1. EntryRef entryRef,
    2. Iterable<Entry<Event>> entries,
    3. Set<EntryRef> base
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(EntryRef entryRef, Entry<Event> entry)? append,
  TResult Function(EntryRef entryRef, Iterable<Entry<Event>> entries)?
      forward,
  TResult Function(EntryRef entryRef, Iterable<Entry<Event>> entries,
          Set<EntryRef> base)?
      merge,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;