GraphVerificationRecord constructor

  1. @JsonSerializable(includeIfNull: false)
const GraphVerificationRecord({
  1. @Default('app.bsky.graph.verification') String $type,
  2. required String subject,
  3. required String handle,
  4. required String displayName,
  5. required DateTime createdAt,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory GraphVerificationRecord({
  @Default('app.bsky.graph.verification') String $type,

  /// DID of the subject the verification applies to.
  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,

  /// Date of when the verification was created.
  required DateTime createdAt,

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