unexpectedCharacterError function

String unexpectedCharacterError(
  1. String character
)

Implementation

String unexpectedCharacterError(String character) {
  return Intl.message(
    "Unexpected character '$character'.",
    name: 'unexpectedCharacterErrorMessage',
    args: [character],
    desc: "The error message from when the lexer finds a character that it's not supposed to scan.",
  );
}