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