close method
NoOp by default : only closeable integrations need to override
Implementation
@override
void close() async {
if (!(dispatchWrapper?.isOnErrorSupported(_options!) == true)) {
// bail out
return;
}
/// Restore default if the integration error is still set.
if (dispatchWrapper?.onError == _integrationOnError) {
dispatchWrapper?.onError = _defaultOnError;
_defaultOnError = null;
_integrationOnError = null;
}
}