detachPaymaster method

bool detachPaymaster()

Implementation

bool detachPaymaster() {
  try {
    this.usePaymaster = false;
    this.defaultPaymaster = null;
    return true;
  } on Exception catch (e) {
    // TODO
    print(e);
    return false;
  }
}