whenOrNull<TResult extends Object?> method
Null safety
- TResult? $default(
- BorderSide top,
- BorderSide right,
- BorderSide bottom,
- BorderSide left,
- BorderSide horizontalInside,
- BorderSide verticalInside,
- BorderRadius borderRadius
- {TResult? all(
- Color color,
- double width,
- BorderStyle style,
- BorderRadius borderRadius
- TResult? symmetric(
- BorderSide inside,
- BorderSide outside
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>(
TResult? Function(
BorderSide top,
BorderSide right,
BorderSide bottom,
BorderSide left,
BorderSide horizontalInside,
BorderSide verticalInside,
BorderRadius borderRadius)?
$default, {
TResult? Function(Color color, double width, BorderStyle style,
BorderRadius borderRadius)?
all,
TResult? Function(BorderSide inside, BorderSide outside)? symmetric,
}) =>
throw _privateConstructorUsedError;