Item constructor

Item({
  1. required String id,
  2. required String href,
  3. required ItemMediaType mediaType,
  4. required Epub source,
  5. Item? mediaOverlay,
  6. List<ItemProperty> properties = const [],
})

Implementation

Item({
  required this.id,
  required this.href,
  required this.mediaType,
  required Epub source,
  this.mediaOverlay,
  this.properties = const [],
}) : _source = source.zip;