AudioBook class

Annotations
  • @freezed

Constructors

AudioBook({required String title, required String category, required String coverUrl, required String detailsUrl, String? narrator, String? length, String? releaseDate, @Default([]) List<String> descriptions, String? downloadLink})
const
factory
AudioBook.fromJson(Map<String, Object?> json)
factory

Properties

category 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
descriptions List<String>
no setterinherited
detailsUrl String
no setterinherited
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
length String?
no setterinherited
narrator String?
no setterinherited
releaseDate String?
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