mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? phone(
    1. _PhoneS value
    )?,
  2. TResult? tablet(
    1. _WebS value
    )?,
  3. TResult? desktop(
    1. _DesktopS value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(_PhoneS value)? phone,
  TResult? Function(_WebS value)? tablet,
  TResult? Function(_DesktopS value)? desktop,
}) =>
    throw _privateConstructorUsedError;