forward method

void forward(
  1. String method, [
  2. Map<String, String>? args,
  3. int? line
])

Implementation

void forward(String method, [Map<String, String>? args, int? line]) {
  if (verbose) _info("Forward $method", line);

  _write("\n${_current.pre}return ${method}(connect");
  _outArgs(args);
  _writeln(");${_getLineNumberComment(line)}");
}