SettingTarget class final

Where a ComponentSetting writes: a node and a binding path into it (DESIGN.md §5.1), as a condition's set entries. A field path in the older properties.* form that has no binding path is kept as v1 (the stored key's name).

Annotations
  • @immutable

Constructors

SettingTarget(String node, String? path, {String? v1})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
node → String
final
path → String?
The binding path (props.text, decoration.fills[0]), or null when only v1 is known.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
v1 → String?
A field path in the older properties.* form (properties.label), kept when it has no binding path.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remapped(Map<String, String> ids) → SettingTarget
toJson() → Json
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Object? json) → SettingTarget?