VerificationView constructor
- @JsonSerializable(includeIfNull: false)
const
VerificationView(
{ - @Default('tools.ozone.verification.defs#verificationView') String $type,
- required String issuer,
- @AtUriConverter() required AtUri uri,
- required String subject,
- required String handle,
- required String displayName,
- required DateTime createdAt,
- String? revokeReason,
- DateTime? revokedAt,
- String? revokedBy,
- @UVerificationViewSubjectProfileConverter() UVerificationViewSubjectProfile? subjectProfile,
- @UVerificationViewIssuerProfileConverter() UVerificationViewIssuerProfile? issuerProfile,
- @UVerificationViewSubjectRepoConverter() UVerificationViewSubjectRepo? subjectRepo,
- @UVerificationViewIssuerRepoConverter() UVerificationViewIssuerRepo? issuerRepo,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory VerificationView({
@Default('tools.ozone.verification.defs#verificationView') String $type,
/// The user who issued this verification.
required String issuer,
/// The AT-URI of the verification record.
@AtUriConverter() required AtUri uri,
/// The subject of the verification.
required String subject,
/// Handle of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current handle matches the one at the time of verifying.
required String handle,
/// Display name of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current displayName matches the one at the time of verifying.
required String displayName,
/// Timestamp when the verification was created.
required DateTime createdAt,
/// Describes the reason for revocation, also indicating that the verification is no longer valid.
String? revokeReason,
/// Timestamp when the verification was revoked.
DateTime? revokedAt,
/// The user who revoked this verification.
String? revokedBy,
@UVerificationViewSubjectProfileConverter()
UVerificationViewSubjectProfile? subjectProfile,
@UVerificationViewIssuerProfileConverter()
UVerificationViewIssuerProfile? issuerProfile,
@UVerificationViewSubjectRepoConverter()
UVerificationViewSubjectRepo? subjectRepo,
@UVerificationViewIssuerRepoConverter()
UVerificationViewIssuerRepo? issuerRepo,
Map<String, dynamic>? $unknown,
}) = _VerificationView;