resolve method
void
resolve(
- GenerationContext ctx
Creates the fields in each message. Resolves field types and extension targets using the supplied context.
Implementation
void resolve(GenerationContext ctx) {
if (_linked) throw StateError('cross references already resolved');
for (final m in messageGenerators) {
m.resolve(ctx);
}
for (final x in extensionGenerators) {
x.resolve(ctx);
}
_linked = true;
}