ReceivedInvitation class
An invitation this atSign received. Only this atSign reads it.
- Annotations
-
- @experimental
Constructors
-
ReceivedInvitation({required Atsign inviter, required Map<
String, dynamic> publicDetails, required DateTime expiresAt, SealedInvitationContent? sealedContent, ReceivedInvitationStatus status = ReceivedInvitationStatus.previewed, Map<String, dynamic> ? content}) -
const
-
ReceivedInvitation.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
content
→ Map<
String, dynamic> ? -
The content, decrypted, once the inviter has released its key.
final
- expiresAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inviter → Atsign
-
final
-
publicDetails
→ Map<
String, dynamic> -
The inviter's details, from the preview. The inviter's app wrote them,
so they say what it chose to say, verified by nothing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sealedContent → SealedInvitationContent?
-
The content, still encrypted, when the invitation carries any.
final
- status → ReceivedInvitationStatus
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
withSealedContent(
SealedInvitationContent sealed) → ReceivedInvitation -
withStatus(
ReceivedInvitationStatus status, {Map< String, dynamic> ? content}) → ReceivedInvitation
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited