BackgroundFillGradient.fromJson constructor
Creates a BackgroundFillGradient object from JSON.
Implementation
factory BackgroundFillGradient.fromJson(Map<String, dynamic> json) {
return BackgroundFillGradient(
topColor: json['top_color'],
bottomColor: json['bottom_color'],
rotationAngle: json['rotation_angle'],
);
}