whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? phone()?,
- TResult? tablet()?,
- TResult? desktop()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function()? phone,
TResult? Function()? tablet,
TResult? Function()? desktop,
}) =>
throw _privateConstructorUsedError;