PostgateRecord class

Available extensions
Annotations
  • @freezed

Constructors

PostgateRecord.new({@Default(appBskyFeedPostgate) @JsonKey(name: r'$type') String $type, required DateTime createdAt, @AtUriConverter() required AtUri post, @AtUriConverter() List<AtUri>? detachedEmbeddingUris, @UPostgateEmbeddingRuleConverter() List<UPostgateEmbeddingRule>? embeddingRules, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
PostgateRecord.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
copyWith → $PostgateRecordCopyWith<PostgateRecord>
no setterinherited
createdAt DateTime
no setterinherited
detachedEmbeddingUris List<AtUri>?
List of AT-URIs embedding this post that the author has detached from.
no setterinherited
embeddingRules List<UPostgateEmbeddingRule>?
no setterinherited
hasDetachedEmbeddingUris bool

Available on PostgateRecord, provided by the $PostgateRecordExtension extension

Returns true if detachedEmbeddingUris is not null, otherwise false.
no setter
hasEmbeddingRules bool

Available on PostgateRecord, provided by the $PostgateRecordExtension extension

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

Available on PostgateRecord, provided by the $PostgateRecordExtension extension

Returns true if detachedEmbeddingUris is null, otherwise false.
no setter
hasNotEmbeddingRules bool

Available on PostgateRecord, provided by the $PostgateRecordExtension extension

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

Available on PostgateRecord, provided by the $PostgateRecordExtension extension

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

Available on PostgateRecord, provided by the $PostgateRecordExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
post AtUri
Reference (AT-URI) to the post record.
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