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