handleError method

  1. @override
void handleError(
  1. StringCallback newErrorHandler
)
override

Invokes errorHandler if a connection error occurs.

Implementation

@override
void handleError(StringCallback newErrorHandler) =>
    errorHandler = newErrorHandler;