Rank 6: Server
IDK what the issue is but I am stuck at a weried but that I am calling this function
Future<List<CategoryModel>> getCategories() async { try { final response = await _tables.listRows( databaseId: databaseId, tableId: collectionId, );
print('One category document: ${response.rows[1].data}');
final categories = response.rows .map((row) => CategoryModel.fromJson(_rowPayload(row))) .toList();
// Update cache for (var category in categories) { await CacheService.cacheCategory(category); }
return categories; } catch (e) { // Fallback to cache if network fails try { return CacheService.getCachedCategories(); } catch (_) { rethrow; } } }and this a very basic function calling
and the problem is that on the debug console I am getting this logs
I/flutter (12085): Category list: 25
I/flutter (12085): One category document: {}
It means that I am getting 25 list of documents but I am not getting any data