maybeMap<TResult extends Object?> method

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