ThreadgateRecord class

Available extensions
Annotations
  • @freezed

Constructors

ThreadgateRecord.new({@Default(appBskyFeedThreadgate) @JsonKey(name: r'$type') String $type, @AtUriConverter() required AtUri post, @UThreadgateAllowConverter() List<UThreadgateAllow>? allow, required DateTime createdAt, @AtUriConverter() List<AtUri>? hiddenReplies, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
ThreadgateRecord.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
allow List<UThreadgateAllow>?
no setterinherited
copyWith → $ThreadgateRecordCopyWith<ThreadgateRecord>
no setterinherited
createdAt DateTime
no setterinherited
hasAllow bool

Available on ThreadgateRecord, provided by the $ThreadgateRecordExtension extension

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

Available on ThreadgateRecord, provided by the $ThreadgateRecordExtension extension

Returns true if hiddenReplies is not null, otherwise false.
no setter
hasNotAllow bool

Available on ThreadgateRecord, provided by the $ThreadgateRecordExtension extension

Returns true if allow is null, otherwise false.
no setter
hasNotHiddenReplies bool

Available on ThreadgateRecord, provided by the $ThreadgateRecordExtension extension

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

Available on ThreadgateRecord, provided by the $ThreadgateRecordExtension extension

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

Available on ThreadgateRecord, provided by the $ThreadgateRecordExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
hiddenReplies List<AtUri>?
List of hidden reply URIs.
no setterinherited
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