BindingEngine class

Resolves {{key.path}} placeholders in strings using a binding context. Missing keys: replaced with empty string (configurable later).

Constructors

BindingEngine({String missingKeyFallback = ''})

Properties

hashCode → int
The hash code for this object.
no setterinherited
missingKeyFallback → String
Value to use when a binding key is not found. Default: empty string.
final
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
resolve(String value, Map<String, dynamic>? context) → String
Resolve all {{...}} placeholders in value using context. Nested keys use dot notation (e.g. user.name).
resolveMap(Map<String, dynamic> data, Map<String, dynamic>? context) → Map<String, dynamic>
Resolve all string values in a data map (recursively for nested maps). Used to process widget data before building.
toString() → String
A string representation of this object.
inherited

Operators

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