Row.fromMap constructor
Implementation
factory Row.fromMap(
Map<String, dynamic> map,
) {
map = {
'\$id': "",
'\$sequence': "",
'\$tableId': "",
'\$databaseId': "",
'\$createdAt': "",
'\$updatedAt': "",
'\$permissions': [],
...map,
};
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["data"] ?? map,
);
}