BackgroundFillGradient.fromJson constructor

BackgroundFillGradient.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory BackgroundFillGradient.fromJson(Map<String, dynamic> json) =>
    BackgroundFillGradient(
      topColor: json['top_color'],
      bottomColor: json['bottom_color'],
      rotationAngle: json['rotation_angle'],
    );