fromJson static method
Implementation
static DatedFile? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return DatedFile(
file: File.fromJson(tdMapFromJson(json['file'])),
date: (json['date'] as int?) ?? 0,
);
}