ListView class
- Annotations
-
- @freezed
Constructors
-
ListView({@typeKey @Default(appBskyGraphDefsListView) String type, required String purpose, @AtUriConverter() required AtUri uri, required String cid, required String name, String? description, List<
Facet> ? descriptionFacets, String? avatar, List<Label> ? labels, @JsonKey(name: 'creator') required Actor createdBy, @Default(defaultListViewer) ListViewer viewer, required DateTime indexedAt}) -
constfactory
-
ListView.fromJson(Map<
String, Object?> json) -
factory
Properties
- avatar → String?
-
no setterinherited
- cid → String
-
no setterinherited
-
copyWith
→ $ListViewCopyWith<
ListView> -
Create a copy of ListView
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdBy → Actor
-
no setterinherited
- description → String?
-
no setterinherited
-
descriptionFacets
→ List<
Facet> ? -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexedAt → DateTime
-
no setterinherited
- isBlocked → bool
-
Returns true if this list is blocked, otherwise false.
no setter
- isCurated → bool
-
Returns true if this list is for curation purpose, otherwise false.
no setter
- isModerated → bool
-
Returns true if this list is for moderation purpose, otherwise false.
no setter
- isMuted → bool
-
Returns true if authenticated user has muted this actor,
otherwise false.
no setter
- isNotBlocked → bool
-
Returns true if this list is not blocked, otherwise false.
no setter
- isNotCurated → bool
-
Returns true if this list is not for curation purpose, otherwise false.
no setter
- isNotModerated → bool
-
Returns true if this list is not for moderation purpose, otherwise false.
no setter
- isNotMuted → bool
-
Returns true if authenticated user has not muted yet this actor,
otherwise false.
no setter
-
labels
→ List<
Label> ? -
no setterinherited
- name → String
-
no setterinherited
- purpose → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setterinherited
- uri → AtUri
-
no setterinherited
- viewer → ListViewer
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this ListView to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited