VerificationInput constructor

  1. @JsonSerializable(includeIfNull: false)
const VerificationInput({
  1. @Default('tools.ozone.verification.grantVerifications#verificationInput') String $type,
  2. required String subject,
  3. required String handle,
  4. required String displayName,
  5. DateTime? createdAt,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory VerificationInput({
  @Default('tools.ozone.verification.grantVerifications#verificationInput')
  String $type,

  /// The did of the subject being verified
  required String subject,

  /// Handle of the subject the verification applies to at the moment of verifying.
  required String handle,

  /// Display name of the subject the verification applies to at the moment of verifying.
  required String displayName,

  /// Timestamp for verification record. Defaults to current time when not specified.
  DateTime? createdAt,

  Map<String, dynamic>? $unknown,
}) = _VerificationInput;