sendError method
Send an error back to the main isolate
Implementation
void sendError(Object error, [StackTrace? stackTrace]) {
sendPort.send(_BackgroundMessage.error(error, stackTrace));
}
Send an error back to the main isolate
void sendError(Object error, [StackTrace? stackTrace]) {
sendPort.send(_BackgroundMessage.error(error, stackTrace));
}