ImageThumbnail class

Thumbnail.

Inheritance
Implementers
Annotations
  • @immutable

Constructors

ImageThumbnail({required Image parent, int? width, int? height})

Properties

filename String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height int?
Image height in pixels.
finalinherited
id int
Image ID.
finalinherited
isCover bool
Whether image is a book cover.
no setterinherited
isThumbnail bool
Whether image is thumbnail.
no setterinherited
media int
Associated book media gallery ID.
finalinherited
parent Image
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnail ImageThumbnail
Image thumbnail. If called upon thumbnail or cover returns this object.
no setterinherited
type ImageType
Image type (provides format and extension).
finalinherited
width int?
Image width in pixels.
finalinherited

Methods

getFullFilename(String filename) String
inherited
getUrl({API? api, Hosts? hosts}) Uri
Returns image url using hosts settings from api client or provided hosts config.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
inherited
toMap() Map<String, dynamic>
inherited
toString() String
Returns image description that is associated book media and image filename.
inherited

Operators

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