setOnError method

void setOnError(
  1. OnError onError
)

错误代理回调

Implementation

void setOnError(OnError onError) {
  this.onError = onError;
}