addCallback method

void addCallback(
  1. dynamic callBack(
    1. String
    )
)

添加报错回调

Implementation

void addCallback(Function(String) callBack) {
  this.callBack = callBack;
}