Press class final

An immutable, ordered snapshot of Press content.

Constructors

Press(Iterable<PressPage> pages)
Creates a snapshot and validates page identity.

Properties

hashCode → int
The hash code for this object.
no setterinherited
locations → List<Uri>
Static locations represented by this snapshot.
no setter
pages ↔ List<PressPage>
Pages sorted by explicit order and then location.
latefinal
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
page(Iterable<String> slug) → PressPage?
Finds a page by path segments relative to the collection mount.
toString() → String
A string representation of this object.
inherited

Operators

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