onError method

void onError(
  1. String data
)

Implementation

void onError(String data) {
  if(this._callbackError != null) this._callbackError!(data);
}