dartGenerator method

  1. @override
void dartGenerator()
override

Implementation

@override
void dartGenerator() {
  final modelFile = File('${options.dartOutput}/${module.inputFile.path}');
  modelFile.createSync(recursive: true);
  modelFile.writeAsStringSync(ModelGenerator.dartCode(module, options));
}