ListRecord class

Available extensions
Annotations
  • @freezed

Constructors

ListRecord({@Default(appBskyGraphList) @JsonKey(name: r'$type') String $type, @UListPurposeConverter() required UListPurpose purpose, required String name, String? description, @FacetConverter() List<Facet>? descriptionFacets, @BlobConverter() Blob? avatar, @UListLabelConverter() UListLabel? labels, required DateTime createdAt, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
ListRecord.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 Blob?
no setterinherited
copyWith → $ListRecordCopyWith<ListRecord>
no setterinherited
createdAt DateTime
no setterinherited
description String?
no setterinherited
descriptionFacets List<Facet>?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
labels UListLabel?
no setterinherited
name String
Display name for list; can not be empty.
no setterinherited
purpose UListPurpose
Defines the purpose of the list (aka, moderation-oriented or curration-oriented)
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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