mapOrNull<TResult extends Object?> method

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

Implementation

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