writeApis method

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

Writes all apis to indent.

Can be overridden to add extra code before/after classes.

Implementation

@override
void writeApis(
  ObjcOptions generatorOptions,
  Root root,
  Indent indent, {
  required String dartPackageName,
}) {
  super.writeApis(generatorOptions, root, indent,
      dartPackageName: dartPackageName);
  indent.writeln('NS_ASSUME_NONNULL_END');
}