onError method

void onError(
  1. FlutterErrorDetails details
)

Offer an error handler

Implementation

void onError(FlutterErrorDetails details) {}