mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
    throw _privateConstructorUsedError;