mapOrNull<TResult extends Object?> method
Null safety
- {TResult? box(
- BoxDecoration value
- TResult? shape(
- ShapeDecoration value
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(BoxDecoration value)? box,
TResult? Function(ShapeDecoration value)? shape,
}) =>
throw _privateConstructorUsedError;