DatedFile.fromJson constructor

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

Parse from a json

Implementation

DatedFile.fromJson(Map<String, dynamic> json) {
  this.file = File.fromJson(json['file'] ?? <String, dynamic>{});
  this.date = json['date'];
}