void addMethod(String name, Taker handler)

Source

void addMethod(String name, Taker handler) {
  _methods[name] = handler;
}