BinaryFile class

Represents a binary EPUB file.

This class extends EpubFile and adds a content field of type Uint8List to hold the binary content of the file.

Inheritance

Constructors

BinaryFile({required Uint8List content, required String name, required String type, required String path})
Creates a new BinaryFile.
BinaryFile.empty()
Creates an empty BinaryFile.
factory

Properties

content Uint8List
The binary content of the EPUB file.
final
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Returns true if the binary file is empty, false otherwise.
no setter
name String
finalinherited
path String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
finalinherited

Methods

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