fromJson method
Implementation
@override
GradientTransform? fromJson(Map<String, dynamic>? json) {
if (json == null) return null;
return GradientRotation(
(json['radians'] as num).toDouble(),
);
}
@override
GradientTransform? fromJson(Map<String, dynamic>? json) {
if (json == null) return null;
return GradientRotation(
(json['radians'] as num).toDouble(),
);
}