Repo class

Available extensions
Annotations
  • @freezed

Constructors

Repo({@Default(comAtprotoSyncListReposRepo) @JsonKey(name: r'$type') String $type, required String did, required String head, required String rev, @Default(false) bool active, @URepoStatusConverter() URepoStatus? status, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
Repo.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
active bool
no setterinherited
copyWith → $RepoCopyWith<Repo>
no setterinherited
did String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
Current repo commit CID
no setterinherited
rev String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status URepoStatus?
If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
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