maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult ahead(
    1. EntryCompareResultAhead<Event> value
    )?,
  2. TResult behind(
    1. EntryCompareResultBehind<Event> value
    )?,
  3. TResult divergent(
    1. EntryCompareResultDivergent<Event> value
    )?,
  4. TResult equal(
    1. EntryCompareResultEqual<Event> value
    )?,
  5. TResult unknown(
    1. EntryCompareResultUnknown<Event> value
    )?,
  6. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(EntryCompareResultAhead<Event> value)? ahead,
  TResult Function(EntryCompareResultBehind<Event> value)? behind,
  TResult Function(EntryCompareResultDivergent<Event> value)? divergent,
  TResult Function(EntryCompareResultEqual<Event> value)? equal,
  TResult Function(EntryCompareResultUnknown<Event> value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;