map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult phone(
    1. _PhoneS value
    ),
  2. required TResult tablet(
    1. _WebS value
    ),
  3. required TResult desktop(
    1. _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;