Map<String, dynamic> toMap() { return { "\$id": $id, "\$createdAt": $createdAt, "userId": userId, "secret": secret, "expire": expire, "phrase": phrase, }; }