Page class


Page({required PageMeta meta, required Channel channel, Map<String, Link> links = const {}, Pointer? root, Pointer? document, Map<String, Element> page = const {}})
Returns a new Page instance.


channel Channel
getter/setter pair
document Pointer?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
getter/setter pair
meta PageMeta
getter/setter pair
page Map<String, Element>
getter/setter pair
root Pointer?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


getComponent(Component currentComponent, String currentPath) AbstractComponent
getComponentByPath<T extends AbstractComponent>(String path) → T
getDocument() Document?
getRootComponent() Component
isPreview() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toString() String
A string representation of this object.


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

Static Methods

fromJson(dynamic value) Page
Returns a new Page instance and imports its values from value if it's a Map, null otherwise.