whenOrNull<TResult extends Object?> method
Null safety
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>(
TResult? Function(double horizontal, double vertical)? $default, {
TResult? Function()? adaptivePlatformDensity,
}) =>
throw _privateConstructorUsedError;