Color.fromJson constructor
Implementation
factory Color.fromJson(Map<String, dynamic> json) => Color(
red: json["red"]?.toDouble(),
green: json["green"]?.toDouble(),
blue: json["blue"]?.toDouble(),
alpha: json["alpha"],
);