onError method

void onError(
  1. ErrOptions err
)

Implementation

void onError(ErrOptions err) {
  var key = err.id.toString();
  if (logMap.containsKey(key)) {
    logMap.update(key, (value) {
      value.errOptions = err;
      return value;
    });
  }
}