Site class final

A site in memory: its manifest, pages and component library, whatever loaded them (files, a publish, an editor's store).

Annotations
  • @immutable

Constructors

Site({SiteManifest manifest = const SiteManifest(), Map<String, LayoutDocument> pages = const {}, ComponentLibrary? components})

Properties

components → ComponentLibrary
final
hashCode → int
The hash code for this object.
no setterinherited
manifest → SiteManifest
final
pages → Map<String, LayoutDocument>
Pages by their reference (or id).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

catalogOver(Catalog base) → Catalog
base with the components' declarations over it: what the site's documents decode with.
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