handleFlutterError method

void handleFlutterError(
  1. FlutterErrorDetails details
)

This function should be called to handle flutter errors

Implementation

void handleFlutterError(FlutterErrorDetails details) => _handleError(details.exception, () {
      FlutterError.presentError(details);
    });