EpubTextContentFileRef class
- Inheritance
-
- Object
- EpubContentFileRef
- EpubTextContentFileRef
- Available extensions
Constructors
- EpubTextContentFileRef(EpubBookRef epubBookRef, String fileName, EpubContentType contentType, String contentMimeType)
-
const
- EpubTextContentFileRef.named({required EpubBookRef epubBookRef, required String fileName, required EpubContentType contentType, required String contentMimeType})
-
const
Properties
- $type → $EpubContentFileRefType
-
final
- contentMimeType → String
-
final
- contentType → EpubContentType
-
final
- epubBookRef → EpubBookRef
-
final
- fileName → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → SumRuntimeType
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Maybe< EpubBookRef> epubBookRef = const Maybe.none(), Maybe<String> fileName = const Maybe.none(), Maybe<EpubContentType> contentType = const Maybe.none(), Maybe<String> contentMimeType = const Maybe.none()}) → EpubTextContentFileRef -
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
-
ReadContentAsync(
) → Future< String> -
Available on EpubTextContentFileRef, provided by the EpubTextContentFileRefEx extension
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
-
visit<
R extends Object?> ({required R epubByteContentFileRef(EpubByteContentFileRef), required R epubTextContentFileRef(EpubTextContentFileRef)}) → R -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override