Repo constructor
Implementation
@JsonSerializable(includeIfNull: false)
const factory Repo({
/// The unique namespace for this lex object.
///
/// `com.atproto.sync.listRepos#repo`
@Default(comAtprotoSyncListReposRepo) @JsonKey(name: r'$type') String $type,
required String did,
/// Current repo commit CID
required String head,
required String rev,
@Default(false) bool active,
/// 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.
@URepoStatusConverter() URepoStatus? status,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _Repo;