getErrorMessage method
Implementation
@override
ErrorMessage getErrorMessage(Object? input, int? offset) {
final value = ParseError.escape(char);
final hexValue = char.toRadixString(16);
final argument = '$value (0x$hexValue)';
return ErrorMessage(0, ErrorExpectedCharacter.message, [argument]);
}