InterpolationUtils class

Utility for interpolating Form.io style {{data.key}} patterns.

Constructors

InterpolationUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getPathValue(Map<String, dynamic> data, String path) → dynamic
Traverses a map using a dot-notated path.
interpolate(String text, Map<String, dynamic>? formData) String
Replaces {{data.key}} patterns in text with values from formData. Supports nested keys using dot notation (e.g., data.user.name).