ConnectOut class

Constructors

ConnectOut({String? account, String? authorizeUrl, bool? connected, String? externalId, String? provider, List<String> scopes = const []})
Returns a new ConnectOut instance.

Properties

account ↔ String?
Account is the account label the provider reported for the credential. apikey path only; a pointer because "" is a real answer the provider gave.
getter/setter pair
authorizeUrl ↔ String?
AuthorizeURL is the provider consent URL to send the user to. OAuth path only.
getter/setter pair
connected ↔ bool?
Connected is true on the apikey path once the credential verified and sealed.
getter/setter pair
externalId ↔ String?
ExternalID is the provider's account id for the credential. apikey path only.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
provider ↔ String?
Provider is the connector's registry id. apikey path only.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes ↔ List<String>
Scopes are the permissions the credential carries. apikey path only; never null on that path ([] when the provider reported none).
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) → ConnectOut?
Returns a new ConnectOut instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ConnectOut>
mapFromJson(dynamic json) → Map<String, ConnectOut>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ConnectOut>>

Constants

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