Gets all files
Future<Iterable<File>> getFiles() async { final response = await _get('/api/media/file'); return response.data['items'].map<File>((e) => File.fromJson(e)); }