expectAfterError function
Implementation
String expectAfterError(String expectation, String after, String found) {
return Intl.message(
"Expected to find $expectation after $after. Found '$found'.",
name: 'expectAfterErrorMessage',
args: [expectation, after, found],
desc: 'The error message for expected element after the current token',
);
}