onError method Null safety

void onError(
  1. AnalysisError error
)

This method is invoked when an error has been found by the analysis engine.

Implementation

void onError(AnalysisError error);