mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? none(
    1. None value
    )?,
  2. TResult? mobile(
    1. Mobile value
    )?,
  3. TResult? wifi(
    1. Wifi value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(None value)? none,
  TResult? Function(Mobile value)? mobile,
  TResult? Function(Wifi value)? wifi,
}) =>
    throw _privateConstructorUsedError;