ResourceDartBuilder constructor

ResourceDartBuilder(
  1. String projectRootPath,
  2. String outputPath
)

Implementation

ResourceDartBuilder(String projectRootPath, this.outputPath) {
  this.projectRootPath = projectRootPath.replaceAll('$separator.', '');

  final File yamlFile = File('$projectRootPath/fgen.yaml');
  if (yamlFile.existsSync()) {
    final String text = yamlFile.readAsStringSync();
    filter = Filter(text);
  }
}