GeneratedCoverService class abstract
A CoverService which provides a unique cover for each Publication.
- Inheritance
-
- Object
- PublicationService
- CoverService
- GeneratedCoverService
- Implementers
Constructors
Properties
- coverLink → Link
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
links
→ List<
Link> -
Links which will be added to Publication.links.
It can be used to expose a web API for the service, through Publication.get.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceType → Type
-
This is the supertype of the service that the subclass is implementing
no setterinherited
Methods
-
close(
) → void -
Closes any opened file handles, removes temporary files, etc.
inherited
-
cover(
) → Future< Image?> -
Returns the publication cover as a
Bitmap
at its maximum size.override -
coverFitting(
ImageSize maxSize) → Future< Image?> -
Returns the publication cover as a
Bitmap
, scaled down to fit the givenmaxSize
.inherited -
get(
Link link) → Resource? -
A service can return a Resource to:
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited