Section class Null safety

Section is node with other subsections or pages.

Inheritance

Constructors

Section({Page? index, required String path, List<Content> children = const []})

Properties

children List<Content>
Page or Section content.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
index Page?
final
path String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String
read-only, inherited

Methods

getPages() List<Page>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, Object?>
override
toString() String
A string representation of this object. [...]
override
when<R>({R section(Section section)?, R page(Page page)?}) → R?
override

Operators

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