InputOptionBase constructor

InputOptionBase({
  1. required FileSystemEntity root,
  2. required bool convertDbTypeConverters,
  3. required bool convertDbDaos,
  4. required bool convertDbEntities,
  5. required bool convertViews,
  6. required File dbFile,
  7. required Glob glob,
})

All options for the Floor2DriftGenerator which classes should be converted

Implementation

InputOptionBase({
  required this.root,
  required this.convertDbTypeConverters,
  required this.convertDbDaos,
  required this.convertDbEntities,
  required this.convertViews,
  required this.dbFile,
  required this.glob,
  // this.migrations = const [],
}) : _provider = PhysicalResourceProvider(stateLocation: root.absolute.path) {
  _analysisContextCollection = AnalysisContextCollection(
    includedPaths: [_provider.pathContext.normalize(root.absolute.path)],
  );
}