Abid GOriginal post
Rank 2: Process
Row.fromMap now does:
data: Map<String, dynamic>.from(map["data"] ?? {})
But Appwrite Cloud TablesDB row responses return custom row columns flattened at top level,
{
"supported_versions": ["1.2.4", "1.2.5"],
"$id": "..."
}
So row.data becomes {} and all custom row fields disappear.
Older versions worked because they used fallback behavior like:
data: map["data"] ?? map
Confirmed:
- Works: 18.0.0, 20.3.0, 23.0.0, 24.0.0
- Broken: 24.1.0, 24.1.1, 24.2.0
Issue opened here: https://github.com/appwrite/sdk-generator/issues/1561
Can you also add tests to prevent stuff like this in the future?
Summary
Update to Flutter SDK version `25.0.0` for the fix to the issue.