toMap method
Implementation
@override
Map<String, dynamic> toMap() {
return {
"\$id": $id,
"\$createdAt": $createdAt,
"\$updatedAt": $updatedAt,
"type": type,
"name": name,
"value": value,
"ttl": ttl,
"priority": priority,
"lock": lock,
"weight": weight,
"port": port,
"comment": comment,
};
}