SettingsSampleSettings.fromJson constructor

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

Implementation

factory SettingsSampleSettings.fromJson(Map<String, dynamic> json) =>
    SettingsSampleSettings(
      brandName: json["brand_name"] == null
          ? null
          : Brand.fromJson(json["brand_name"]),
      brandLogo: json["brand_logo"] == null
          ? null
          : Brand.fromJson(json["brand_logo"]),
    );