Library constructor

Library({
  1. String? name,
  2. List<DocComment>? docComments,
  3. List<Annotation>? annotations,
  4. List<DartFunction>? functions,
  5. List<Class>? classes,
})

Implementation

Library({
  String? name,
  this.docComments,
  this.annotations,
  this.functions,
  this.classes,
}) : libraryStatement = name == null ? null : Statement.library(name);