remove method

void remove(
  1. String addr
)

Implementation

void remove(String addr) {
  this.toMap.remove(addr);
  if (this.defaultAccount == addr) {
    this.defaultAccount = null;
  }
  this.getDefaultAccount();
}