addConstantImportsTo method

void addConstantImportsTo(
  1. Set<FileGenerator> imports
)

For each .pb.dart file that the generated code needs to import, add its generator.

Implementation

void addConstantImportsTo(Set<FileGenerator> imports) {
  if (!_resolved) throw StateError('resolve not called');
  // No dependencies - nothing to do.
}