writeInstanceManager method
void
writeInstanceManager(
- DartOptions generatorOptions,
- Root root,
- Indent indent, {
- required String dartPackageName,
override
Writes the implementation of an InstanceManager
to indent
.
Implementation
@override
void writeInstanceManager(
DartOptions generatorOptions,
Root root,
Indent indent, {
required String dartPackageName,
}) {
indent.format(proxyApiBaseClass);
indent.format(
instanceManagerTemplate(
allProxyApiNames: root.apis
.whereType<AstProxyApi>()
.map((AstProxyApi api) => api.name),
),
);
}