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