CustomFunctionArgumentsCountException constructor

CustomFunctionArgumentsCountException(
  1. String functionName,
  2. int expectedCount,
  3. int gotCount
)

Implementation

CustomFunctionArgumentsCountException(
  this.functionName,
  this.expectedCount,
  this.gotCount,
) : super(
      title: "Function Arguments Missing",
      message:
          "Function '$functionName' expects $expectedCount argument${expectedCount == 1 ? '' : 's'}, got $gotCount instead.",
    );