AudioBook class

Annotations
  • @freezed

Constructors

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})
const
factory
AudioBook.fromJson(Map<String, Object?> json)
factory

Properties

bitrate String?
no setterinherited
cached DateTime?
no setterinherited
cacheProgress double?
no setterinherited
categories List<String>
no setterinherited
copyWith → $AudioBookCopyWith<AudioBook>
Create a copy of AudioBook with the given fields replaced by the non-null parameter values.
no setterinherited
coverUrl String?
no setterinherited
detailUrl String
no setterinherited
no setterinherited
fileSize String?
no setterinherited
format String?
no setterinherited
hash String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
language String?
no setterinherited
postedDate DateTime?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this AudioBook to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited