reportAtOffset method
void
reportAtOffset(
- int offset,
- int length, {
- required DiagnosticCode diagnosticCode,
- List<
Object> arguments = const [], - List<
DiagnosticMessage> ? contextMessages,
Reports diagnosticCode
at offset
, with length
, with message arguments
and contextMessages
.
Implementation
void reportAtOffset(
int offset,
int length, {
required DiagnosticCode diagnosticCode,
List<Object> arguments = const [],
List<DiagnosticMessage>? contextMessages,
}) => _reportAtOffset(
offset,
length,
diagnosticCode: diagnosticCode,
arguments: arguments,
contextMessages: contextMessages,
);