File.fromJson constructor
Implementation
factory File.fromJson(Map<String, dynamic> json) {
return File(
name: json['name'] as String,
lastModified: network.TimeSinceEpoch.fromJson(
json['lastModified'] as num,
),
size: json['size'] as num,
type: json['type'] as String,
);
}