WithVariables class abstract

Interface for classes with variables to resolve.

Implementers

Constructors

WithVariables()

Properties

hashCode → int
The hash code for this object.
no setterinherited
requiredVariables → List<String>
A list of required variables.
no setter
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

extractVariables(Object? value) → List<String>
Extracts the variables names of value.
isVariableValue(Object? value) → bool
Returns true if value has a variable:
replaceVariables(String s, String replace(Match match)) → String
resolveVariables(List<String> requiredVariables, Future<Object?> variableResolver(String name), {Map<String, dynamic>? variables, Map<String, dynamic>? resolvedVariables}) → Future<Map<String, dynamic>>