collectError abstract method
Sends a report of a caught error.
The error parameter is the error object that was caught.
The stackTrace parameter is the associated stack trace.
Implementation
Future<void> collectError({
required Object error,
required StackTrace stackTrace,
});