ProviderView class
Constructors
- ProviderView({bool? available, String? category, bool? connected, ConnectionView? connection, String? description, String? id, String? name})
- Returns a new ProviderView instance.
Properties
- available ↔ bool?
-
Available is whether THIS DEPLOYMENT has the provider's app credentials, so connect can succeed. False renders the card without a working Connect button.
getter/setter pair
- category ↔ String?
-
Category groups the card ("Communication", "Developer", "Marketing").
getter/setter pair
- connected ↔ bool?
-
Connected is whether this org has a live connection to the provider.
getter/setter pair
- connection ↔ ConnectionView?
-
Connection is the connected account's non-secret detail. Absent when the org has no connection; tokens NEVER appear here (they live only in KMS).
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 ("slack").
getter/setter pair
- name ↔ String?
-
Name is the provider's display name ("Slack").
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) → ProviderView? -
Returns a new ProviderView instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ProviderView> -
mapFromJson(
dynamic json) → Map< String, ProviderView> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ProviderView> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.