Link constructor

const Link({
  1. required String href,
  2. String? id,
  3. bool templated = false,
  4. String? type,
  5. String? title,
  6. List<String> rels = const [],
  7. Properties properties = const Properties(),
  8. int? height,
  9. int? width,
  10. double? bitrate,
  11. double? duration,
  12. List<String> languages = const [],
  13. List<Link> alternates = const [],
  14. List<Link> children = const [],
})

Implementation

const Link({
  required this.href,
  this.id,
  this.templated = false,
  this.type,
  this.title,
  this.rels = const [],
  this.properties = const Properties(),
  this.height,
  this.width,
  this.bitrate,
  this.duration,
  this.languages = const [],
  this.alternates = const [],
  this.children = const [],
});