objcGenerator method

void objcGenerator()

Implementation

void objcGenerator() {
  final uniAPIHeaderFile = File(
      '${options.objcOutput}/${UniApiGenerator.genObjcHeaderFileName(options)}');
  uniAPIHeaderFile.createSync(recursive: true);
  uniAPIHeaderFile.writeAsStringSync(UniApiGenerator.ocHeaderCode(options));

  final uniAPISourceFile = File(
      '${options.objcOutput}/${UniApiGenerator.genObjcSourceFileName(options)}');
  uniAPISourceFile.createSync(recursive: true);
  uniAPISourceFile.writeAsStringSync(UniApiGenerator.ocSourceCode(options));
}