Desktop.fromJson constructor

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

Implementation

Desktop.fromJson(Map<String, dynamic> json) {
  templateId = json['templateId'] != null
      ? new TemplateId.fromJson(json['templateId'])
      : null;
  content = json['content'];
  display = json['display'];
  this.json = (json['json'] != null ? new Json.fromJson(json['json']) : null);
  key = json['key'];
  url = json['url'];
}