factory CreateFileRequest.fromJson(Map<String, dynamic> json) { return CreateFileRequest(file: decode(json['file'], File.fromJson)); }