toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"\$id": $id,
"\$createdAt": $createdAt,
"\$updatedAt": $updatedAt,
"userId": userId,
"userName": userName,
"userEmail": userEmail,
"teamId": teamId,
"teamName": teamName,
"invited": invited,
"joined": joined,
"confirm": confirm,
"mfa": mfa,
"roles": roles,
};
}