CalculationEvaluator class

Constructors

CalculationEvaluator()

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

allowsOverride(Map<String, dynamic>? componentRaw) bool
Checks if calculation can be overridden by user input.
evaluate(dynamic calculateConfig, Map<String, dynamic> formData, {ComponentModel? component}) → dynamic
Evaluates a calculateValue expression and returns the result.
extractDependencies(dynamic calculateConfig) Set<String>
Extracts field dependencies from a JSONLogic or JavaScript expression.
hasCalculation(Map<String, dynamic>? componentRaw) bool
Determines if a component has calculated values.