ImageThumbnail class
Thumbnail.
- Inheritance
- Implementers
- Annotations
-
- @immutable
Constructors
- ImageThumbnail({required Image parent, int? width, int? height})
Properties
- filename → String
-
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- height → int?
-
Image height in pixels.
finalinherited
- id → int
-
Image ID.
finalinherited
- isCover → bool
-
Whether image is a book cover.
read-onlyinherited
- isThumbnail → bool
-
Whether image is thumbnail.
read-onlyinherited
- media → int
-
Associated book media gallery ID.
finalinherited
- parent → Image
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- thumbnail → ImageThumbnail
-
Image thumbnail.
If called upon thumbnail or cover returns this object.
read-onlyinherited
- 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 providedhosts
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