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