toMap method

Map<String, dynamic> toMap()
override

Implementation

Map<String, dynamic> toMap() {
  return {
    "\$id": $id,
    "\$collectionId": $collectionId,
    "\$databaseId": $databaseId,
    "\$createdAt": $createdAt,
    "\$updatedAt": $updatedAt,
    "\$permissions": $permissions,
    "data": data,
  };
}