reportError method

void reportError(
  1. Object error,
  2. StackTrace stack
)

Implementation

void reportError(Object error, StackTrace stack) {
  _TrackPlugin.customEvent('error', ErrorModel(error: error, stack: stack).toMap());
}