EnterpriseAccount class

Constructors

EnterpriseAccount({required String id, required EnterpriseAccountObjectEnum object, EnterpriseAccountProtocolEnum? protocol, required String provider, required bool active, required String emailAddress, String? firstName, String? lastName, String? providerUserId, String? enterpriseConnectionId, Map<String, Object> publicMetadata = const {}, required EnterpriseAccountVerification? verification, EnterpriseAccountEnterpriseConnection? enterpriseConnection, int? lastAuthenticatedAt})
Returns a new EnterpriseAccount instance.

Properties

active bool
getter/setter pair
emailAddress String
getter/setter pair
enterpriseConnection EnterpriseAccountEnterpriseConnection?
getter/setter pair
enterpriseConnectionId String?
getter/setter pair
firstName String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
getter/setter pair
lastAuthenticatedAt int?
Unix timestamp of last authentication.
getter/setter pair
lastName String?
getter/setter pair
object EnterpriseAccountObjectEnum
String representing the object's type. Objects of the same type share the same value.
getter/setter pair
protocol EnterpriseAccountProtocolEnum?
The authentication protocol used to sign in.
getter/setter pair
provider String
getter/setter pair
providerUserId String?
The unique ID of the user in the external provider's system
getter/setter pair
publicMetadata Map<String, Object>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verification EnterpriseAccountVerification?
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) EnterpriseAccount?
Returns a new EnterpriseAccount instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<EnterpriseAccount>
mapFromJson(dynamic json) Map<String, EnterpriseAccount>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<EnterpriseAccount>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.