PublicationFactory class
Creates a Publication
model from an EPUB package's document.
@param displayOptions iBooks Display Options XML file to use as a fallback for the metadata. See https://github.com/readium/architecture/blob/master/streamer/parser/metadata.md#epub-2x-9
Constructors
-
PublicationFactory({required String fallbackTitle, required PackageDocument packageDocument, Map<
String, Encryption> encryptionData = const {}, Map<String, String> displayOptions = const {}})
Properties
-
displayOptions
→ Map<
String, String> -
final
-
encryptionData
→ Map<
String, Encryption> -
final
- fallbackTitle → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
final
- packageDocument → PackageDocument
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
) → Manifest -
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