Repo constructor

const Repo({
  1. required String did,
  2. @JsonKey(name: 'head') required String headCid,
  3. required String rev,
  4. @Default(true) bool active,
  5. String? status,
})

Implementation

const factory Repo({
  required String did,
  @JsonKey(name: 'head') required String headCid,
  required String rev,
  @Default(true) bool active,
  String? status,
}) = _Repo;