toJson method
Converts a BackgroundFillFreeformGradient object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'colors': colors,
};
}
Converts a BackgroundFillFreeformGradient object to JSON.
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'colors': colors,
};
}