maybeMap<TResult extends Object?> method
Null safety
- {TResult linear(
- LinearGradient value
- TResult radial(
- RadialGradient value
- TResult sweep(
- SweepGradient value
- required TResult orElse(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(LinearGradient value)? linear,
TResult Function(RadialGradient value)? radial,
TResult Function(SweepGradient value)? sweep,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;