Page class

Constructors

Page({required String name, required List<String> path, required String content, required List<Page> children})
const

Properties

children List<Page>
final
content String
final
formatteddName String
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
no setter
name String
final
path List<String>
final
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
renderContent() String
renderMenu(int scope) String
toString() String
A string representation of this object.
inherited
withName(String name) Page

Operators

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

Static Methods

formatName(String name) String
load(Directory directory, String name) Future<Page>