whenOrNull<TResult extends Object?> method
Null safety
- {TResult? all(
- Radius radius
- TResult? circular(
- double radius
- TResult? vertical( )?,
- TResult? horizontal( )?,
- TResult? only( )?}
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(Radius radius)? all,
TResult? Function(double radius)? circular,
TResult? Function(Radius top, Radius bottom)? vertical,
TResult? Function(Radius left, Radius right)? horizontal,
TResult? Function(Radius? topLeft, Radius? topRight, Radius? bottomLeft,
Radius? bottomRight)?
only,
}) =>
throw _privateConstructorUsedError;