map<TResult extends Object?> method

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

Implementation

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