sendError static method

void sendError(
  1. dynamic error,
  2. dynamic stacktrace
)

Send an error to Catcher

This function has to be used to handle all errors in the app

Implementation

static void sendError(dynamic error, dynamic stacktrace) {
  Catcher.reportCheckedError(error, stacktrace);
}