ViewerTextCollectionItem class abstract

Inheritance

Constructors

ViewerTextCollectionItem({String? title, String? description})
const
factory

Properties

copyWith → $ViewerTextCollectionItemCopyWith<ViewerTextCollectionItem>
no setter
description String?
Description of the item
no setter
hashCode int
The hash code for this object.
no setterinherited
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 item
no setter

Methods

map<TResult extends Object?>({required TResult text(ViewerTextCollectionItem value), required TResult image(ViewerImageCollectionItem value), required TResult widget(ViewerWidgetCollectionItem value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult text(ViewerTextCollectionItem value)?, TResult image(ViewerImageCollectionItem value)?, TResult widget(ViewerWidgetCollectionItem value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult text(ViewerTextCollectionItem value)?, TResult image(ViewerImageCollectionItem value)?, TResult widget(ViewerWidgetCollectionItem value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult text(String? title, String? description)?, TResult image(ViewerImageCollectionItemStyle style, String url, String? title, String? description, double? width, double? height)?, TResult widget(Widget widget)?, 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 text(String? title, String? description), required TResult image(ViewerImageCollectionItemStyle style, String url, String? title, String? description, double? width, double? height), required TResult widget(Widget widget)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult text(String? title, String? description)?, TResult image(ViewerImageCollectionItemStyle style, String url, String? title, String? description, double? width, double? height)?, TResult widget(Widget widget)?}) → TResult?
inherited

Operators

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