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