mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult? initial(
- Initial value
- TResult? loading(
- Loading value
- TResult? failure(
- Failure value
- TResult? success(
- 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;