ServiceGenerator constructor

ServiceGenerator(
  1. ServiceDescriptorProto _descriptor,
  2. FileGenerator fileGen,
  3. Set<String> usedNames
)

Implementation

ServiceGenerator(this._descriptor, this.fileGen, Set<String> usedNames)
    : classname = disambiguateName(
          serviceBaseName(avoidInitialUnderscore(_descriptor.name)),
          usedNames,
          defaultSuffixes());