LibraryDefinition constructor

LibraryDefinition({
  1. required String basename,
  2. Iterable<QueryDefinition> queries = const [],
  3. Iterable<String> customImports = const [],
})

Instantiate a library definition.

Implementation

LibraryDefinition({
  required this.basename,
  this.queries = const [],
  this.customImports = const [],
}) : assert(hasValue(basename));