I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON:
in " Future<models.RowList> listRows()"
{
"total" : 1,
"rows" : [ {
"name" : "test",
"birthday" : "2025-10-02T00:00:00.000+00:00",
"sortIndex" : 70,
"$id" : "68e16247802c82f620c9",
"$sequence" : "69",
"$createdAt" : "2025-10-04T18:07:05.869+00:00",
"$updatedAt" : "2025-12-17T11:24:38.708+00:00",
"$permissions" : [ "read(user:68baf8704fd58f781548)", "update(user:68baf8704fd58f781548)", "delete(user:68baf8704fd58f781548)" ],
"$databaseId" : "xxxx",
"$tableId" : "yyyy"
} ]
}
But the code in "factory Row.fromMap(Map<String, dynamic> map)" expects to find the coluln data in a "data" json entry:
return Row(
$id: map['id'].toString(),
$sequence: map['sequence'].toString(),
$tableId: map['tableId'].toString(),
$databaseId: map['databaseId'].toString(),
$createdAt: map['createdAt'].toString(),
$updatedAt: map['updatedAt'].toString(),
$permissions: List.from(map['permissions'] ?? []),
data: Map<String, dynamic>.from(map["data"] ?? {}),
);
What am I doing wrong ?
Recommended threads
- Attribute not found in schema on REST AP...
I'm querying a appwrite collection via the REST API on appwrite cloud 1.9.5 (no SDK) via a cloudflare worker and keep getting: ``` {"message":"Invalid query: A...
- [SOLVED] Appwrite 25.1.0 returns Invalid...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....
- Quota not resetting
hi, im using appwrite's free tier plani hit my read limts last month and the billing cycle said it would reset on june 4th but that is today, the billing cycle ...