CustomFunctionMissingArgumentException constructor

CustomFunctionMissingArgumentException(
  1. String functionName,
  2. DartBlockVariableDefinition variableDefinition,
  3. int parameterIndex,
  4. Type gotType,
)

Implementation

CustomFunctionMissingArgumentException(
  this.functionName,
  this.variableDefinition,
  this.parameterIndex,
  this.gotType,
) : super(
      title: "Function Wrong Argument Type",
      message:
          "Function '$functionName' expects an argument '${variableDefinition.name}' of type ${variableDefinition.dataType} at index $parameterIndex, but got $gotType.",
    );