onceException method

  1. @override
void onceException({
  1. required ExceptionHandler handler,
})
inherited

Implementation

@override
void onceException({required ExceptionHandler handler}) {
  onException(handler: handler).onData((data) {
    if (data.containsKey(HostEventType.error)) offException(handler: handler);
  });
}