PostRecord class

https://atprotodart.com/docs/lexicons/app/bsky/feed/post/#input

An object representing the records in the created appBskyFeedPost.

Annotations
  • @freezed

Constructors

PostRecord({@typeKey @Default(appBskyFeedPost) String type, required String text, ReplyRef? reply, @embedConverter Embed? embed, List<String>? langs, @labelsConverter Labels? labels, List<Facet>? facets, List<String>? tags, required DateTime createdAt})
const
factory
PostRecord.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $PostRecordCopyWith<PostRecord>
Create a copy of PostRecord with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt DateTime
no setterinherited
embed Embed?
no setterinherited
facets List<Facet>?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
labels Labels?
no setterinherited
langs List<String>?
no setterinherited
reply ReplyRef?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>?
no setterinherited
text String
no setterinherited
type String
no setterinherited

Methods

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

Operators

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