Project class

Project

Constructors

Project.new({required String $id, required String $createdAt, required String $updatedAt, required String name, required String description, required String teamId, required String url, required String legalName, required String legalCountry, required String legalState, required String legalCity, required String legalAddress, required String legalTaxId, required int authDuration, required int authLimit, required int authSessionsLimit, required int authPasswordHistory, required bool authPasswordDictionary, required bool authPersonalDataCheck, required List<AuthProvider> oAuthProviders, required List<Platform> platforms, required List<Webhook> webhooks, required List<Key> keys, required bool smtpEnabled, required String smtpSenderName, required String smtpSenderEmail, required String smtpReplyTo, required String smtpHost, required int smtpPort, required String smtpUsername, required String smtpPassword, required String smtpSecure})
Project.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
Project creation date in ISO 8601 format.
final
$id String
Project ID.
final
$updatedAt String
Project update date in ISO 8601 format.
final
authDuration int
Session duration in seconds.
final
authLimit int
Max users allowed. 0 is unlimited.
final
authPasswordDictionary bool
Whether or not to check user's password against most commonly used passwords.
final
authPasswordHistory int
Max allowed passwords in the history list per user. Max passwords limit allowed in history is 20. Use 0 for disabling password history.
final
authPersonalDataCheck bool
Whether or not to check the user password for similarity with their personal data.
final
authSessionsLimit int
Max sessions allowed per user. 100 maximum.
final
description String
Project description.
final
hashCode int
The hash code for this object.
no setterinherited
keys List<Key>
List of API Keys.
final
legalAddress String
Company Address.
final
legalCity String
City name.
final
legalCountry String
Country code in ISO 3166-1 two-character format.
final
legalName String
Company legal name.
final
legalState String
State name.
final
legalTaxId String
Company Tax ID.
final
Project logo file ID.
final
name String
Project name.
final
oAuthProviders List<AuthProvider>
List of Auth Providers.
final
platforms List<Platform>
List of Platforms.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smtpEnabled bool
Status for custom SMTP
final
smtpHost String
SMTP server host name
final
smtpPassword String
SMTP server password
final
smtpPort int
SMTP server port
final
smtpReplyTo String
SMTP reply to email
final
smtpSecure String
SMTP server secure protocol
final
smtpSenderEmail String
SMTP sender email
final
smtpSenderName String
SMTP sender name
final
smtpUsername String
SMTP server username
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
teamId String
Project team ID.
final
url String
Project website URL.
final
webhooks List<Webhook>
List of Webhooks.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited