Reference.optional constructor

const Reference.optional({
  1. required LibraryElement lib,
  2. String? prefix,
  3. bool hide = false,
  4. Element? associatedElement,
})

Implementation

const Reference.optional({
  required this.lib,
  this.prefix,
  this.hide = false,
  this.associatedElement,
}) : optional = true;