VerificationView class abstract
Verification data for the associated subject.
- Available extensions
- Annotations
-
- @freezed
Constructors
-
VerificationView.new({@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}) -
constfactory
-
VerificationView.fromJson(Map<
String, Object?> json) -
factory
Properties
- $type → String
-
no setterinherited
-
$unknown
→ Map<
String, dynamic> ? -
no setterinherited
-
copyWith
→ $VerificationViewCopyWith<
VerificationView> -
Create a copy of VerificationView
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdAt → DateTime
-
Timestamp when the verification was created.
no setterinherited
- displayName → String
-
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.
no setterinherited
- handle → String
-
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.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasIssuerProfile → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasIssuerRepo → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasNotIssuerProfile → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasNotIssuerRepo → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasNotRevokedAt → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasNotRevokedBy → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasNotRevokeReason → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasNotSubjectProfile → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasNotSubjectRepo → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasRevokedAt → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasRevokedBy → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasRevokeReason → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasSubjectProfile → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - hasSubjectRepo → bool
-
Available on VerificationView, provided by the VerificationViewExtension extension
no setter - issuer → String
-
The user who issued this verification.
no setterinherited
- issuerProfile → UVerificationViewIssuerProfile?
-
no setterinherited
- issuerRepo → UVerificationViewIssuerRepo?
-
no setterinherited
- revokedAt → DateTime?
-
Timestamp when the verification was revoked.
no setterinherited
- revokedBy → String?
-
The user who revoked this verification.
no setterinherited
- revokeReason → String?
-
Describes the reason for revocation, also indicating that the verification is no longer valid.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → String
-
The subject of the verification.
no setterinherited
- subjectProfile → UVerificationViewSubjectProfile?
-
no setterinherited
- subjectRepo → UVerificationViewSubjectRepo?
-
no setterinherited
- uri → AtUri
-
The AT-URI of the verification record.
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_VerificationView value)) → TResult -
Available on VerificationView, provided by the VerificationViewPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_VerificationView value)?) → TResult? -
Available on VerificationView, provided by the VerificationViewPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_VerificationView value)?, {required TResult orElse()}) → TResult -
Available on VerificationView, provided by the VerificationViewPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(String $type, String issuer, AtUri uri, String subject, String handle, String displayName, DateTime createdAt, String? revokeReason, DateTime? revokedAt, String? revokedBy, UVerificationViewSubjectProfile? subjectProfile, UVerificationViewIssuerProfile? issuerProfile, UVerificationViewSubjectRepo? subjectRepo, UVerificationViewIssuerRepo? issuerRepo, Map< String, dynamic> ? $unknown)?, {required TResult orElse()}) → TResult -
Available on VerificationView, provided by the VerificationViewPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this VerificationView to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String $type, String issuer, AtUri uri, String subject, String handle, String displayName, DateTime createdAt, String? revokeReason, DateTime? revokedAt, String? revokedBy, UVerificationViewSubjectProfile? subjectProfile, UVerificationViewIssuerProfile? issuerProfile, UVerificationViewSubjectRepo? subjectRepo, UVerificationViewIssuerRepo? issuerRepo, Map< String, dynamic> ? $unknown)) → TResult -
Available on VerificationView, provided by the VerificationViewPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String $type, String issuer, AtUri uri, String subject, String handle, String displayName, DateTime createdAt, String? revokeReason, DateTime? revokedAt, String? revokedBy, UVerificationViewSubjectProfile? subjectProfile, UVerificationViewIssuerProfile? issuerProfile, UVerificationViewSubjectRepo? subjectRepo, UVerificationViewIssuerRepo? issuerRepo, Map< String, dynamic> ? $unknown)?) → TResult? -
Available on VerificationView, provided by the VerificationViewPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
knownProps
→ const List<
String>