RepoInfo class
Represents detailed information about a repository.
- Annotations
-
- @freezed
- @Deprecated('Use DescribeRepoOutput')
Constructors
-
RepoInfo({required String handle, required String did, required Map<
String, dynamic> didDoc, required List<String> collections, @JsonKey(name: 'handleIsCorrect') @Default(false) bool hasCorrectHandle}) -
Creates a new instance of RepoInfo.
constfactory
-
RepoInfo.fromJson(Map<
String, Object?> json) -
Creates a new instance of RepoInfo from a JSON object.
factory
Properties
-
collections
→ List<
String> -
A list of collections included in the repository.
no setterinherited
-
copyWith
→ $RepoInfoCopyWith<
RepoInfo> -
no setterinherited
- did → String
-
The DID (Decentralized Identifier) of the repository.
no setterinherited
-
didDoc
→ Map<
String, dynamic> -
The parsed DID document.
no setterinherited
- handle → String
-
The handle identifier of the repository.
no setterinherited
- hasCorrectHandle → bool
-
A boolean value indicating if the handle is correct.
no setterinherited
- hashCode → int
-
The hash code for this object.
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