EpubContentFileRef class abstract

Implementers
Available extensions

Constructors

EpubContentFileRef.epubByteContentFileRef(EpubBookRef epubBookRef, String fileName, EpubContentType contentType, String contentMimeType)
const
factory
EpubContentFileRef.epubTextContentFileRef(EpubBookRef epubBookRef, String fileName, EpubContentType contentType, String contentMimeType)
const
factory

Properties

$type $EpubContentFileRefType
no setter
contentMimeType String
no setterinherited
contentType EpubContentType
no setterinherited
epubBookRef EpubBookRef
no setterinherited
fileName String
no setterinherited
hashCode int
The hash code for this object.
no setteroverride
runtimeType → SumRuntimeType
A representation of the runtime type of the object.
no setteroverride

Methods

getContentFileEntry() → ArchiveFile

Available on EpubContentFileRef, provided by the EpubContentFileRefEx extension

getContentStream() List<int>

Available on EpubContentFileRef, provided by the EpubContentFileRefEx extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openContentStream(ArchiveFile contentFileEntry) List<int>

Available on EpubContentFileRef, provided by the EpubContentFileRefEx extension

readContentAsBytes() Future<List<int>>

Available on EpubContentFileRef, provided by the EpubContentFileRefEx extension

readContentAsText() Future<String>

Available on EpubContentFileRef, provided by the EpubContentFileRefEx extension

toJson() Object
toString() String
A string representation of this object.
override
visit<R extends Object?>({required R epubByteContentFileRef(EpubByteContentFileRef), required R epubTextContentFileRef(EpubTextContentFileRef)}) → R

Operators

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