maybeMap<TResult extends Object?> method
Null safety
- {TResult border(
- Border value
- TResult directional(
- BorderDirectional value
- TResult roundedRectangle(
- RoundedRectangleBorder value
- TResult stadium(
- StadiumBorder value
- TResult oval(
- OvalBorder value
- TResult circle(
- CircleBorder value
- TResult continuousRectangle( )?,
- TResult beveledRectangle(
- BeveledRectangleBorder value
- TResult underlineInput(
- UnderlineInputBorder value
- TResult outlineInput(
- OutlineInputBorder value
- TResult noneInput(
- InputBorderNone value
- TResult star(
- StarBorder value
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(Border value)? border,
TResult Function(BorderDirectional value)? directional,
TResult Function(RoundedRectangleBorder value)? roundedRectangle,
TResult Function(StadiumBorder value)? stadium,
TResult Function(OvalBorder value)? oval,
TResult Function(CircleBorder value)? circle,
TResult Function(ContinuousRectangleBorder value)? continuousRectangle,
TResult Function(BeveledRectangleBorder value)? beveledRectangle,
TResult Function(UnderlineInputBorder value)? underlineInput,
TResult Function(OutlineInputBorder value)? outlineInput,
TResult Function(InputBorderNone value)? noneInput,
TResult Function(StarBorder value)? star,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;