maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult loading()?,
- TResult error(
- Object? error
- TResult data(
- T value,
- bool isDone
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function()? loading,
TResult Function(Object? error)? error,
TResult Function(T value, bool isDone)? data,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;