javaGenerator method

  1. @override
void javaGenerator()
override

Implementation

@override
void javaGenerator() {
  detectErrorInJava(module.name, module.inputFile.pascalName,
      fileName: module.inputFile.name,
      absolutePath: module.inputFile.absolutePath);

  final file =
      File('${options.javaOutputPath}/${module.inputFile.javaPath()}');
  file.createSync(recursive: true);
  file.writeAsStringSync(FlutterModuleGenerator.javaCode(module, options));
}