CustomFunctionNoReturnValueExpectedException constructor
CustomFunctionNoReturnValueExpectedException(
- String functionName
Implementation
CustomFunctionNoReturnValueExpectedException(this.functionName)
: super(
title: "Function Void Return",
message:
"Function '$functionName' has return type 'void', meaning it must not return a value.",
);