RepoOp class

A repo operation, ie a mutation of a single record.

https://atprotodart.com/docs/lexicons/com/atproto/sync/subscribeRepos#repoop

Available extensions
Annotations
  • @freezed

Constructors

RepoOp.new({@Default(comAtprotoSyncSubscribeReposRepoOp) @JsonKey(name: r'$type') String $type, @URepoOpActionConverter() required URepoOpAction action, required String path, String? cid, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
RepoOp.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
action URepoOpAction
no setterinherited
cid String?
For creates and updates, the new record CID. For deletions, null.
no setterinherited
copyWith → $RepoOpCopyWith<RepoOp>
no setterinherited
hasCid bool

Available on RepoOp, provided by the $RepoOpExtension extension

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

Available on RepoOp, provided by the $RepoOpExtension extension

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

Available on RepoOp, provided by the $RepoOpExtension extension

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

Available on RepoOp, provided by the $RepoOpExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
path String
no setterinherited
record Map<String, dynamic>?

Available on RepoOp, provided by the RepoOpExtension extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri AtUri?

Available on RepoOp, provided by the RepoOpExtension extension

Returns at uri.
no setter

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