ViewerApiDocsSection class abstract

Inheritance

Constructors

ViewerApiDocsSection({required String id, required String title, String? description})
const
factory

Properties

copyWith → $ViewerApiDocsSectionCopyWith<ViewerApiDocsSection>
no setter
description String?
Description of the section.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
Id of the section.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchableElements List<SearchableElement>
Get all searchable elements
no setterinherited
title String
Title of the section.
no setter

Methods

map<TResult extends Object?>({required TResult paragraph(ViewerParagraphSection value), required TResult component(ViewerComponentSection value), required TResult apiDocs(ViewerApiDocsSection value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult paragraph(ViewerParagraphSection value)?, TResult component(ViewerComponentSection value)?, TResult apiDocs(ViewerApiDocsSection value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult paragraph(ViewerParagraphSection value)?, TResult component(ViewerComponentSection value)?, TResult apiDocs(ViewerApiDocsSection value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult paragraph(String id, String title, String? description, List<ViewerCollectionItemUnion> contents)?, TResult component(String id, String title, String? description, String ctorName, String? designLink, ViewerWidgetBuilder builder, List<ViewerComponentExample> examples, ViewerSourceCode sourceCode)?, TResult apiDocs(String id, String title, String? description)?, 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 paragraph(String id, String title, String? description, List<ViewerCollectionItemUnion> contents), required TResult component(String id, String title, String? description, String ctorName, String? designLink, ViewerWidgetBuilder builder, List<ViewerComponentExample> examples, ViewerSourceCode sourceCode), required TResult apiDocs(String id, String title, String? description)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult paragraph(String id, String title, String? description, List<ViewerCollectionItemUnion> contents)?, TResult component(String id, String title, String? description, String ctorName, String? designLink, ViewerWidgetBuilder builder, List<ViewerComponentExample> examples, ViewerSourceCode sourceCode)?, TResult apiDocs(String id, String title, String? description)?}) → TResult?
inherited

Operators

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