Appearance.fromJson constructor

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

Implementation

factory Appearance.fromJson(Map<String, dynamic> json) {
  return Appearance(
    primaryColor: json["primary_color"],
    captionFontColor: json["caption_font_color"],
    captionBackgroundColor: json["caption_background_color"],
    logo: json["logo"],
    logoDestinationUrl: json["logo_destination_url"],
    fontSize: json["font_size"],
    captionFontSize: json["caption_font_size"],
  );
}