handleNonFlutterError method

void handleNonFlutterError(
  1. Object error,
  2. StackTrace trace
)

This function should be used to handle non flutter errors

Implementation

void handleNonFlutterError(Object error, StackTrace trace) => _handleError(error, () {
      throw error;
    });