error property

(T? Function(Object event)?) error
final

Events dispatched from the WebSocket onerror are handled in this listener, as well as all internal client errors that could throw.

Implementation

final T? Function(Object event)? error;