maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult idle()?,
- TResult loading()?,
- TResult success(
- T data
- TResult failure(
- String reason
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function()? idle,
TResult Function()? loading,
TResult Function(T data)? success,
TResult Function(String reason)? failure,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;