maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult bool(
- bool field0
- TResult string(
- String field0
- TResult array()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(bool field0)? bool,
TResult Function(String field0)? string,
TResult Function(List<MyValue> field0)? array,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;