writeInstanceManager method

  1. @override
void writeInstanceManager(
  1. SwiftOptions generatorOptions,
  2. Root root,
  3. Indent indent, {
  4. required String dartPackageName,
})
override

Writes the implementation of an InstanceManager to indent.

Implementation

@override
void writeInstanceManager(
  SwiftOptions generatorOptions,
  Root root,
  Indent indent, {
  required String dartPackageName,
}) {
  indent.format(instanceManagerFinalizerDelegateTemplate(generatorOptions));
  indent.format(instanceManagerFinalizerTemplate(generatorOptions));
  indent.format(instanceManagerTemplate(generatorOptions));
}