DatedFile.fromJson constructor

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

Parse from a json

Implementation

factory DatedFile.fromJson(Map<String, dynamic> json) => DatedFile(
  file: File.fromJson(json['file']),
  date: json['date'],
);