Files class

The files contained in a parsed book.

Provides access to the images, CSS files, HTML files, font files and other files extracted from the book, regardless of the source format.

Constructors

Files({required List<BinaryFile> images, required List<TextFile> css, required List<TextFile> html, required List<BinaryFile> fonts, required List<BinaryFile> others})
Creates a new Files with the given lists of files.
Files.empty()
An empty file set: the shape of a progressive session header.

Properties

css → List<TextFile>
The list of CSS files in the book.
final
fonts → List<BinaryFile>
The list of font files in the book.
final
hashCode → int
The hash code for this object.
no setterinherited
html → List<TextFile>
The list of HTML content files in the book.
final
images → List<BinaryFile>
The list of image files in the book.
final
others → List<BinaryFile>
The list of remaining binary files in the book.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited