AppConfig.fromJson constructor

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

Implementation

AppConfig.fromJson(Map<String, dynamic> json) {
  title = json['title'];
  showPrintButton = json['showPrintButton'];
  showShareButton = json['showShareButton'];
  colors = json['colors'] != null ? Colors.fromJson(json['colors']) : null;
  logo = json['logo'];
  mobileLogo = json['mobileLogo'];
  showEazeLogo = json['showEazeLogo'];
}