ListView class

Available extensions
Annotations
  • @freezed

Constructors

ListView.new({@Default(appBskyGraphDefsListView) @JsonKey(name: r'$type') String $type, @AtUriConverter() required AtUri uri, required String cid, @ProfileViewConverter() required ProfileView creator, required String name, @UListPurposeConverter() required UListPurpose purpose, String? description, @FacetConverter() List<Facet>? descriptionFacets, String? avatar, @Default(0) int listItemCount, @LabelConverter() List<Label>? labels, @ListViewerStateConverter() @Default(ListViewerState()) ListViewerState viewer, required DateTime indexedAt, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
ListView.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
avatar String?
no setterinherited
cid String
no setterinherited
copyWith → $ListViewCopyWith<ListView>
no setterinherited
creator ProfileView
no setterinherited
description String?
no setterinherited
descriptionFacets List<Facet>?
no setterinherited
hasAvatar bool

Available on ListView, provided by the $ListViewExtension extension

Returns true if avatar is not null, otherwise false.
no setter
hasDescription bool

Available on ListView, provided by the $ListViewExtension extension

Returns true if description is not null, otherwise false.
no setter
hasDescriptionFacets bool

Available on ListView, provided by the $ListViewExtension extension

Returns true if descriptionFacets is not null, otherwise false.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasLabels bool

Available on ListView, provided by the $ListViewExtension extension

Returns true if labels is not null, otherwise false.
no setter
hasNotAvatar bool

Available on ListView, provided by the $ListViewExtension extension

Returns true if avatar is null, otherwise false.
no setter
hasNotDescription bool

Available on ListView, provided by the $ListViewExtension extension

Returns true if description is null, otherwise false.
no setter
hasNotDescriptionFacets bool

Available on ListView, provided by the $ListViewExtension extension

Returns true if descriptionFacets is null, otherwise false.
no setter
hasNotLabels bool

Available on ListView, provided by the $ListViewExtension extension

Returns true if labels is null, otherwise false.
no setter
hasNotUnknown bool

Available on ListView, provided by the $ListViewExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasUnknown bool

Available on ListView, provided by the $ListViewExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
indexedAt DateTime
no setterinherited
labels List<Label>?
no setterinherited
listItemCount int
no setterinherited
name String
no setterinherited
purpose UListPurpose
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri AtUri
no setterinherited
viewer ListViewerState
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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