ConnectorProviderView class

Constructors

ConnectorProviderView({String? category, String? description, String? id, List<String> methods = const [], String? name, List<String> scopes = const []})
Returns a new ConnectorProviderView instance.

Properties

category ↔ String?
Category groups the card.
getter/setter pair
description ↔ String?
Description is the one-line pitch the console card shows.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the provider's registry id and the :provider path segment.
getter/setter pair
methods ↔ List<String>
Methods are the intake paths this provider supports, derived from its capabilities: "device", "oauth" (adopt an externally obtained bundle) and "token" (a customer-held credential). At least one, always.
getter/setter pair
name ↔ String?
Name is the provider's display name.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes ↔ List<String>
Scopes are the permissions a connection will ask for. Never null.
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) → ConnectorProviderView?
Returns a new ConnectorProviderView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ConnectorProviderView>
mapFromJson(dynamic json) → Map<String, ConnectorProviderView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ConnectorProviderView>>

Constants

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