onFailure abstract method

dynamic onFailure(
  1. OnFailure callback
)

Called when a connection has failed

Implementation

onFailure(OnFailure callback);