Files.fromJson constructor

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

Implementation

Files.fromJson(Map<String, dynamic> json) {
  fileId = json['fileId'];
  fileUrl = json['fileUrl'];
  type = json['type'];
  createdAt = json['createdAt'];
  updatedAt = json['updatedAt'];
  // attributes = json['attributes'] != null ? new Attributes.fromJson(json['attributes']) : null;
}