toJson method
Implementation
@override
Map<String, dynamic>? toJson(GradientTransform? object) {
if (object == null) return null;
assert(object is GradientRotation);
if (object is GradientRotation) {
return {
'radians': object.radians,
};
}
throw 'Json_Unsuported_Value';
}