RepoViewDetail constructor
- @JsonSerializable(includeIfNull: false)
const
RepoViewDetail(
{ - @Default(toolsOzoneModerationDefsRepoViewDetail) @JsonKey(name: r'$type') String $type,
- required String did,
- required String handle,
- String? email,
- required List<Map<String, dynamic>> relatedRecords,
- required DateTime indexedAt,
- @ModerationDetailConverter() required ModerationDetail moderation,
- @LabelConverter() List<Label>? labels,
- @InviteCodeConverter() InviteCode? invitedBy,
- @InviteCodeConverter() List<InviteCode>? invites,
- @Default(false) bool invitesDisabled,
- String? inviteNote,
- DateTime? emailConfirmedAt,
- DateTime? deactivatedAt,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory RepoViewDetail({
/// The unique namespace for this lex object.
///
/// `tools.ozone.moderation.defs#repoViewDetail`
@Default(toolsOzoneModerationDefsRepoViewDetail)
@JsonKey(name: r'$type')
String $type,
required String did,
required String handle,
String? email,
required List<Map<String, dynamic>> relatedRecords,
required DateTime indexedAt,
@ModerationDetailConverter() required ModerationDetail moderation,
@LabelConverter() List<Label>? labels,
@InviteCodeConverter() InviteCode? invitedBy,
@InviteCodeConverter() List<InviteCode>? invites,
@Default(false) bool invitesDisabled,
String? inviteNote,
DateTime? emailConfirmedAt,
DateTime? deactivatedAt,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _RepoViewDetail;