maybeMap<TResult extends Object?> method

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

Implementation

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