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