maybeWhen<TResult extends Object?> method
Null safety
- {TResult all(
- Radius radius
- TResult circular(
- double radius
- TResult vertical( )?,
- TResult horizontal( )?,
- TResult only( )?,
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;