Link constructor

const Link({
  1. required Uri href,
  2. String? rel,
  3. String? type,
  4. String? hreflang,
  5. String? title,
  6. int? length,
})

Link with href. Optional: rel, type, hreflang, title, length.

Implementation

const Link({
  required this.href,
  this.rel,
  this.type,
  this.hreflang,
  this.title,
  this.length,
});