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