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