HostDeclarations class
The four declarations, plus the "auto" escape hatch for each.
Every field is null by default, which sends nothing and leaves the runtime
in its pre-0.16.0 behaviour. HostDeclarations.auto declares all four as
"auto", which is a valid first cut for a new mobile integration.
Constructors
Properties
- cfiStructuralComponents → int?
-
Android + mobile mask only.
4is the documented mobile value.final - deviceClass → Object?
-
"auto"or a DeviceClass. Null sends"auto": since runtime 0.42 an undeclared class files behaviour baselines underunknown.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
no setter
- maskProfile → Object?
-
"auto"or a MaskProfile. Null sends nothing.final - notificationsObservable → bool?
-
Whether a notification producer actually runs on this host, so that a
window with no notifications is evidence of low demand rather than no
evidence (runtime ≥ 0.32.0). Null sends nothing, and the runtime then
resolves it from
platform— true on Android and desktop. A host on one of those platforms whose listener is not running (not granted, not implemented) must declarefalse, or every quiet window reads as low demand. Older runtimes ignore the key.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sensing → Object?
-
"auto", or an explicit SensingProfile. Null sends nothing.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Keys merged into the config JSON handed to
synheart_core_new. Absent keys mean "undeclared", which is not the same as a declared default. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- auto → const HostDeclarations
-
All four resolved from the config's
platformstring by core-runtime's own tables. The maintained answer — prefer it to re-deriving per app.