formulaExec method

  1. @override
Future formulaExec(
  1. String formulaName,
  2. String functionName, [
  3. List? arguments,
  4. Map<String, dynamic>? fields,
])
override

Executes a formula function.

Implementation

@override
Future<dynamic> formulaExec(String formulaName, String functionName,
    [List? arguments, Map<String, dynamic>? fields]) async {
  var formula = await _getFormula(formulaName);
  if (formula == null) {
    return false;
  }

  var result = await formula.exec(functionName, arguments, fields);
  return result;
}