ConnectRequest class

Constructors

ConnectRequest({String? githubLogin, String? login, String? provider})
Returns a new ConnectRequest instance.

Properties

githubLogin ↔ String?
GithubLogin is the account to link. Used only when IAM holds no linked account for the provider — a linked account is stronger proof and always wins.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
login ↔ String?
Login is the provider-neutral alias for GithubLogin, preferred when both are sent.
getter/setter pair
provider ↔ String?
Provider is the forge to enrol with: github (the default) or gitlab.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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) → ConnectRequest?
Returns a new ConnectRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ConnectRequest>
mapFromJson(dynamic json) → Map<String, ConnectRequest>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ConnectRequest>>

Constants

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