maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult nothing()?,
- TResult just(
- T value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function()? nothing,
TResult Function(T value)? just,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;