Configuration.fromJson constructor

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

Implementation

Configuration.fromJson(Map<String, dynamic> json) {
  desktop =
      json['desktop'] != null ? new Desktop.fromJson(json['desktop']) : null;
  mobile =
      json['mobile'] != null ? new Desktop.fromJson(json['mobile']) : null;
}