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
- Index for combination of columns
How am i suppposed to apply index so that combination of two columns alwasy remain unique in appwrite table though console
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, I’m using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...