FilesUploadResult.fromJson(Map<String, dynamic> json) { uploaded = (json['uploaded'] as List).map((item) => item as String).toList(); errors = Error.listFromJson(json['errors']); }