CustomFunctionMissingArgumentException constructor
CustomFunctionMissingArgumentException(
- String functionName,
- DartBlockVariableDefinition variableDefinition,
- int parameterIndex,
- 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.",
);