Document.fromJson constructor

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

Implementation

factory Document.fromJson(Map<String, dynamic> json) {
  return Document(
    description: json['description'] ?? '',
    doctype: json['doctype'] ?? '',
    logo: json['logo'] ?? '',
  );
}