toMap method

Map<String, dynamic> toMap()
override

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,
    "roles": roles,
  };
}