generate method

void generate(
  1. IndentingWriter out
)

Implementation

void generate(IndentingWriter out) {
  out.addBlock('class ${className}Api {', '}', () {
    out.println('$_clientType _client;');
    out.println('${className}Api(this._client);');
    out.println();

    for (final m in service._descriptor.method) {
      generateMethod(out, m);
    }
  });
  out.println();
}