GrantError constructor

  1. @JsonSerializable(includeIfNull: false)
const GrantError({
  1. @Default('tools.ozone.verification.grantVerifications#grantError') String $type,
  2. required String error,
  3. required String subject,
  4. Map<String, dynamic>? $unknown,
})

Implementation

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

  /// Error message describing the reason for failure.
  required String error,

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

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