resolve method

void resolve(
  1. GenerationContext ctx
)

Finds all message types used by this service.

Puts the types found in _deps. If a type name can't be resolved, puts it in _undefinedDeps. Precondition: messages have been registered and resolved.

Implementation

void resolve(GenerationContext ctx) {
  for (final method in _descriptor.method) {
    _methods.add(_GrpcMethod(this, ctx, method));
  }
}