Book class
Book.
- Annotations
-
- @immutable
- @MappableClass(hook: BookHook())
Constructors
Properties
- cover → Cover
-
Book cover.
read-only
- favorites → int
-
Book favorites count.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id → int
-
Book ID.
final
- images → BookImages
-
Collection of images.
final
- media → int
-
Book media gallery ID.
final
-
pages
→ List<
Image> -
Book pages.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- scanlator → String?
-
Book scanlator.
final
-
Book tags list.
final
- thumbnail → CoverThumbnail
-
Book thumbnail.
read-only
- title → BookTitle
-
Book title.
final
- uploaded → DateTime
-
Book upload date.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
Get book pretty title.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- parse → Book Function(dynamic value)
-
Parses Book instance from a given value.
read-only
- parseJson → Book Function(String json)
-
Parses JSON string into Book similarly to parse.
read-only
-
parseJsonList
→ List<
Book> Function(String json) -
Parses JSON string into List of Book instances similarly to
parseList.
read-only
-
parseList
→ List<
Book> Function(dynamic value) -
Parses List of Book instances from a given value.
read-only