Cta.fromJson constructor
Implementation
factory Cta.fromJson(Map<String, dynamic> json) => Cta(
buttonColor: json["buttonColor"],
buttonWidth: json["buttonWidth"],
buttonAlignment: json["buttonAlignment"],
roundness: json["roundness"],
padding: Padding.fromJson(json["padding"]),
buttonText: json["buttonText"],
url: json["url"],
);