Map<String, dynamic> toMap() { return { "\$id": $id, "\$createdAt": $createdAt, "\$updatedAt": $updatedAt, "key": key, "value": value, "functionId": functionId, }; }