ViewerDocumentPage class abstract

Inheritance

Constructors

ViewerDocumentPage({required String id, required List<String> namespace, required String title, String? subtitle, String? description, List<ViewerSectionUnion> sections})
const
factory

Properties

copyWith → $ViewerDocumentPageCopyWith<ViewerDocumentPage>
no setter
description String?
Description of the page.
no setter
firstDocumentUri String
Get the URI of the first document in the current page:
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
Id of the page.
no setter
namespace List<String>
Namespace describing the hierarchical structure of the page. It which consists of a list of ids from the root to the parent.
no setter
namespaceHierarchyLabel String
Get the namespace hierarchy user friendly label
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchableElements List<SearchableElement>
Get all searchable elements
no setterinherited
sections List<ViewerSectionUnion>
List of children sections.
no setter
segments List<String>
Get the list of id segments which includes both the ids in the namespace as well as the current id
no setterinherited
subtitle String?
Subtitle of the page.
no setter
title String
Title of the page.
no setter
uri String
Get the URI that represents the current page
no setterinherited

Methods

map<TResult extends Object?>({required TResult group(ViewerGroupPage value), required TResult document(ViewerDocumentPage value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult group(ViewerGroupPage value)?, TResult document(ViewerDocumentPage value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult group(ViewerGroupPage value)?, TResult document(ViewerDocumentPage value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult group(String id, List<String> namespace, String title, String? description, List<ViewerPageUnion> children)?, TResult document(String id, List<String> namespace, String title, String? subtitle, String? description, List<ViewerSectionUnion> sections)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult group(String id, List<String> namespace, String title, String? description, List<ViewerPageUnion> children), required TResult document(String id, List<String> namespace, String title, String? subtitle, String? description, List<ViewerSectionUnion> sections)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult group(String id, List<String> namespace, String title, String? description, List<ViewerPageUnion> children)?, TResult document(String id, List<String> namespace, String title, String? subtitle, String? description, List<ViewerSectionUnion> sections)?}) → TResult?
inherited

Operators

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