notAFunctionError function

String notAFunctionError(
  1. String identifier
)

Implementation

String notAFunctionError(String identifier) {
  return Intl.message(
    "'$identifier' is not a function, so it can't receive an argument.",
    name: 'notAFunctionErrorMessage',
    args: [identifier],
    desc: 'The error describing that the identifier that receive as parameter'
        "is not a function, and thus it shouldn't receive a parameter.",
  );
}