Book class

Constructors

Book(int id, Library _library, String name, CacheController _cacheController, KuebikoHttpClient _httpClient)

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
final
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convert(Formats format) Future<String>
convertStatus(String convertId) Future<String>
cover() Future<Image?>
delete() → void
download(Formats format) Future<Uint8List>
getProgress() Future<Progress>
metadata() Future<Map>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renewMetadata() → void
setProgress(Progress progress) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getBooks(BookSorting sort, SortingDirection direction, CacheController cacheController, KuebikoHttpClient httpClient) → dynamic
upload(Library library, CacheController cacheController, KuebikoHttpClient httpClient, Uint8List fileContent) Future<Book>