AudioBook constructor

const AudioBook({
  1. required String title,
  2. required String detailUrl,
  3. @Default([]) List<String> categories,
  4. String? language,
  5. String? coverUrl,
  6. DateTime? postedDate,
  7. String? format,
  8. String? bitrate,
  9. String? fileSize,
  10. String? hash,
  11. String? downloadLink,
  12. DateTime? cached,
  13. double? cacheProgress,
})

Implementation

const factory AudioBook({
  required String title,
  required String detailUrl,
  @Default([]) List<String> categories,
  String? language,
  String? coverUrl,
  DateTime? postedDate,
  String? format,
  String? bitrate,
  String? fileSize,
  String? hash,
  String? downloadLink,
  DateTime? cached,
  double? cacheProgress,
}) = _AudioBook;