Repo class

Annotations
  • @freezed

Constructors

Repo({required String did, @JsonKey(name: 'head') required String headCid, required String rev, @Default(true) bool active, String? status})
const
factory
Repo.fromJson(Map<String, Object?> json)
factory

Properties

active bool
no setterinherited
copyWith → $RepoCopyWith<Repo>
Create a copy of Repo with the given fields replaced by the non-null parameter values.
no setterinherited
did String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
headCid String
no setterinherited
rev String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this Repo to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited