onError method

  1. @override
void onError(
  1. Object err,
  2. StackTrace? stackTrace
)

Method is called when an error is thrown

Implementation

@override
void onError(Object err, StackTrace? stackTrace) {}