Library constructor

const Library({
  1. String? name,
  2. Iterable<Directive> directives = const [],
  3. Iterable<Element> elements = const [],
  4. Iterable<Docs> docs = const [],
})

Configuration for defining a library.

Implementation

const Library({
  this.name,
  this.directives = const [],
  this.elements = const [],
  this.docs = const [],
});