$addMethod method

void $addMethod(
  1. ServiceMethod method
)

Implementation

void $addMethod(ServiceMethod method) {
  _$methods[method.name] = method;
}