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