objcGenerator method

  1. @override
void objcGenerator()
override

Implementation

@override
void objcGenerator() {
  final modelHeaderFile =
      File('${options.objcOutput}/${module.inputFile.objcHeaderPath()}');
  modelHeaderFile.createSync(recursive: true);
  modelHeaderFile.writeAsStringSync(ModelGenerator.ocHeader(module, options));

  final modelSourceFile =
      File('${options.objcOutput}/${module.inputFile.objcSourcePath()}');
  modelSourceFile.createSync(recursive: true);
  modelSourceFile.writeAsStringSync(ModelGenerator.ocSource(module, options));
}