Facet constructor

Facet({
  1. required String title,
  2. OpdsMetadata? metadata,
  3. List<Link>? links,
})

Implementation

Facet({
  required this.title,
  OpdsMetadata? metadata,
  List<Link>? links,
})  : this.metadata = metadata ?? OpdsMetadata(title: title),
      this.links = links ?? [];