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