ConnectorView class

Constructors

ConnectorView({String? account, bool? configured, int? docCount, String? error, String? kind, String? lastSync, String? provider, String? status})
Returns a new ConnectorView instance.

Properties

account ↔ String?
Account names the connected external account. Absent until the org connects.
getter/setter pair
configured ↔ bool?
Configured is true when this deployment holds OAuth credentials for the provider.
getter/setter pair
docCount ↔ int?
DocCount is the live count of this provider's documents in the org's store.
getter/setter pair
error ↔ String?
Error is the last sync failure, if any. Absent until the org connects.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
kind ↔ String?
Kind is "native" for a first-party Go connector, "piece" for a long-tail one.
getter/setter pair
lastSync ↔ String?
LastSync is when the last pull finished. Absent until the org connects.
getter/setter pair
provider ↔ String?
Provider is the connector's id.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
Status is connected, disconnected, syncing or error.
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) → ConnectorView?
Returns a new ConnectorView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ConnectorView>
mapFromJson(dynamic json) → Map<String, ConnectorView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ConnectorView>>

Constants

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