ClientApiGenerator constructor

ClientApiGenerator(
  1. ServiceGenerator service,
  2. Set<String> usedNames,
  3. int _repeatedFieldIndex
)

Implementation

ClientApiGenerator(
  this.service,
  Set<String> usedNames,
  this._repeatedFieldIndex,
) : className = disambiguateName(
      avoidInitialUnderscore(service._descriptor.name),
      usedNames,
      defaultSuffixes(),
    );