toMap method
Implementation
@override
Map<String, dynamic> toMap() {
return {
"\$id": $id,
"\$createdAt": $createdAt,
"\$updatedAt": $updatedAt,
"name": name,
"description": description,
"teamId": teamId,
"logo": logo,
"url": url,
"legalName": legalName,
"legalCountry": legalCountry,
"legalState": legalState,
"legalCity": legalCity,
"legalAddress": legalAddress,
"legalTaxId": legalTaxId,
"authDuration": authDuration,
"authLimit": authLimit,
"authSessionsLimit": authSessionsLimit,
"authPasswordHistory": authPasswordHistory,
"authPasswordDictionary": authPasswordDictionary,
"authPersonalDataCheck": authPersonalDataCheck,
"authDisposableEmails": authDisposableEmails,
"authCanonicalEmails": authCanonicalEmails,
"authFreeEmails": authFreeEmails,
"authMockNumbers": authMockNumbers.map((p) => p.toMap()).toList(),
"authSessionAlerts": authSessionAlerts,
"authMembershipsUserName": authMembershipsUserName,
"authMembershipsUserEmail": authMembershipsUserEmail,
"authMembershipsMfa": authMembershipsMfa,
"authInvalidateSessions": authInvalidateSessions,
"oAuthProviders": oAuthProviders.map((p) => p.toMap()).toList(),
"platforms": platforms,
"webhooks": webhooks.map((p) => p.toMap()).toList(),
"keys": keys.map((p) => p.toMap()).toList(),
"devKeys": devKeys.map((p) => p.toMap()).toList(),
"smtpEnabled": smtpEnabled,
"smtpSenderName": smtpSenderName,
"smtpSenderEmail": smtpSenderEmail,
"smtpReplyTo": smtpReplyTo,
"smtpHost": smtpHost,
"smtpPort": smtpPort,
"smtpUsername": smtpUsername,
"smtpPassword": smtpPassword,
"smtpSecure": smtpSecure,
"pingCount": pingCount,
"pingedAt": pingedAt,
"labels": labels,
"status": status,
"authEmailPassword": authEmailPassword,
"authUsersAuthMagicURL": authUsersAuthMagicURL,
"authEmailOtp": authEmailOtp,
"authAnonymous": authAnonymous,
"authInvites": authInvites,
"authJWT": authJWT,
"authPhone": authPhone,
"serviceStatusForAccount": serviceStatusForAccount,
"serviceStatusForAvatars": serviceStatusForAvatars,
"serviceStatusForDatabases": serviceStatusForDatabases,
"serviceStatusForTablesdb": serviceStatusForTablesdb,
"serviceStatusForLocale": serviceStatusForLocale,
"serviceStatusForHealth": serviceStatusForHealth,
"serviceStatusForProject": serviceStatusForProject,
"serviceStatusForStorage": serviceStatusForStorage,
"serviceStatusForTeams": serviceStatusForTeams,
"serviceStatusForUsers": serviceStatusForUsers,
"serviceStatusForVcs": serviceStatusForVcs,
"serviceStatusForSites": serviceStatusForSites,
"serviceStatusForFunctions": serviceStatusForFunctions,
"serviceStatusForProxy": serviceStatusForProxy,
"serviceStatusForGraphql": serviceStatusForGraphql,
"serviceStatusForMigrations": serviceStatusForMigrations,
"serviceStatusForMessaging": serviceStatusForMessaging,
"protocolStatusForRest": protocolStatusForRest,
"protocolStatusForGraphql": protocolStatusForGraphql,
"protocolStatusForWebsocket": protocolStatusForWebsocket,
"region": region,
"billingLimits": billingLimits.toMap(),
"blocks": blocks.map((p) => p.toMap()).toList(),
"consoleAccessedAt": consoleAccessedAt,
};
}