Book class

A book with a Heading, a list of Authors, a ChapterList and an optional ChapterList for the appendices.

Mixed in types

Constructors

Book({required Heading heading, required List<Author> authors, required ChapterList chapters, ChapterList? appendices})

Properties

appendices ChapterList?
final
authors List<Author>
final
chapters ChapterList
final
hashCode int
The hash code for this object.
no setteroverride
heading Heading
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getChildren() List<Indexable>
An optional list of elements that are children of the current element
override
getId() String
The unique Id of the element
override
getTitle() String
The title with which to refer to the element as
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHtml() String
Returns an HTML representation of the element
override
toString() String
A string representation of this object.
inherited

Operators

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