maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult phone()?,
- TResult tablet()?,
- TResult desktop()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function()? phone,
TResult Function()? tablet,
TResult Function()? desktop,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;