maybeWhen<TResult extends Object?> method

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

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function()? none,
  TResult Function()? mobile,
  TResult Function()? wifi,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;