whenOrNull<TResult extends Object?> method

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

Implementation

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