DestinationStatus class

Constructors

DestinationStatus({String? account, String? category, Map<String, String> config = const {}, bool? connected, bool? enabled, List<DestinationField> fields = const [], bool? live, String? name, bool? pixel, String? platform, List<String> secrets = const []})
Returns a new DestinationStatus instance.

Properties

account ↔ String?
Account is the operator's own label for the connected account, as supplied on connect. Absent when unset.
getter/setter pair
category ↔ String?
groups the card: Analytics | Advertising
getter/setter pair
config ↔ Map<String, String>
Config is the org's stored NON-SECRET configuration — the measurement/pixel ids keyed by DestinationField.Key. A secret is never in here; secrets live in KMS and only their names are published, in Secrets.
getter/setter pair
connected ↔ bool?
Connected is true when this org has a stored row for the platform — it has been configured here at least once. It says nothing about whether a credential still resolves; that is Live.
getter/setter pair
enabled ↔ bool?
Enabled is whether the fan-out forwards to this destination. False on a destination that is connected but paused, and on one never connected.
getter/setter pair
fields ↔ List<DestinationField>
Fields are the non-secret inputs this platform needs, which the console card renders and the connect body fills.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
live ↔ bool?
Live is whether a credential resolves RIGHT NOW: a KMS-sealed secret for this org, else the integrations connection named by the platform's Fallback, else no credential needed at all (a public-ingest sink like Analytics). False on a connected destination whose secret has gone missing — Connected && !Live is exactly the "reconnect me" state.
getter/setter pair
name ↔ String?
the platform's display name ("Google Analytics 4")
getter/setter pair
pixel ↔ bool?
Pixel is whether the hosted tag can inject a browser pixel for this platform, so a console offers a per-SITE pixel input for exactly these. False means the platform receives conversions server-side only, and an input would promise an injection that never happens. Derived from the tag's own map (event.BrowserTags), never restated — a second list is how a console offers a pixel nothing fires.
getter/setter pair
platform ↔ String?
the platform slug, and the path segment every route addresses it by
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secrets ↔ List<String>
Secrets are the KMS secret NAMES this platform custodies for the org — names only, never values. The connect body accepts each under its camelCase form.
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) → DestinationStatus?
Returns a new DestinationStatus instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<DestinationStatus>
mapFromJson(dynamic json) → Map<String, DestinationStatus>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<DestinationStatus>>

Constants

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