RecordViewRecord class

Available extensions
Annotations
  • @freezed

Constructors

RecordViewRecord({@Default(appBskyEmbedRecordViewRecord) @JsonKey(name: r'$type') String $type, @AtUriConverter() required AtUri uri, required String cid, @ProfileViewBasicConverter() required ProfileViewBasic author, @PostRecordConverter() required PostRecord value, @LabelConverter() List<Label>? labels, @Default(0) int replyCount, @Default(0) int repostCount, @Default(0) int likeCount, @Default(0) int quoteCount, @URecordViewRecordEmbedConverter() List<URecordViewRecordEmbed>? embeds, required DateTime indexedAt, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
RecordViewRecord.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
author ProfileViewBasic
no setterinherited
cid String
no setterinherited
copyWith → $RecordViewRecordCopyWith<RecordViewRecord>
no setterinherited
embeds List<URecordViewRecordEmbed>?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
indexedAt DateTime
no setterinherited
labels List<Label>?
no setterinherited
likeCount int
no setterinherited
quoteCount int
no setterinherited
replyCount int
no setterinherited
repostCount int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri AtUri
no setterinherited
value PostRecord
The record data itself.
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