Group constructor

Group({
  1. required String title,
  2. OpdsMetadata? metadata,
  3. List<Link>? links,
  4. List<Publication>? publications,
  5. List<Link>? navigation,
})

Implementation

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