NotationPages class final

The pages of a text (notationPages).

Constructors

NotationPages({required String source, required List<NotationPage> pages, required bool headed, required int shared, required String? definitions})
const

Properties

definitions → String?
The text with only its definitions (define … and primitive … blocks) left, each on its own lines: what every page is read with (parseNotation's definitions). Null when the text is one page with no heading (its definitions are its own).
final
hashCode → int
The hash code for this object.
no setterinherited
headed → bool
Whether the text has a ### Name line. False: it is one page, read as it is written.
final
ids → List<String>
The ids of the pages, as NotationOptions.withScreens takes them.
no setter
pages → List<NotationPage>
Its pages in the order written; never empty.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shared → int
How many of the first lines are the app's (what is written before the first heading when it is no page): 0 when there are none.
final
source → String
The text that was split.
final

Methods

at(int line) → NotationPage?
The page line (1-based) is in; null for a line that is the app's.
named(String name) → NotationPage?
The page called name: by its id, or its name in any case; null when none is.
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