maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult initial(
    1. Initial value
    )?,
  2. TResult loading(
    1. Loading value
    )?,
  3. TResult failure(
    1. Failure value
    )?,
  4. TResult success(
    1. Success value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(Initial value)? initial,
  TResult Function(Loading value)? loading,
  TResult Function(Failure value)? failure,
  TResult Function(Success value)? success,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;