LibraryGenerator constructor

LibraryGenerator({
  1. required List<DependencyConfig> dependencies,
  2. required String initializerName,
  3. Uri? targetFile,
  4. bool asExtension = false,
  5. String? microPackageName,
  6. Set<ExternalModuleConfig> microPackagesModulesBefore = const {},
  7. Set<ExternalModuleConfig> microPackagesModulesAfter = const {},
  8. bool usesConstructorCallback = false,
})

Implementation

LibraryGenerator({
  required List<DependencyConfig> dependencies,
  required this.initializerName,
  this.targetFile,
  this.asExtension = false,
  this.microPackageName,
  this.microPackagesModulesBefore = const {},
  this.microPackagesModulesAfter = const {},
  this.usesConstructorCallback = false,
}) : dependencies = DependencyList(dependencies: dependencies);