SentInvitation class

An invitation this atSign sent. Only this atSign reads it.

Annotations
  • @experimental

Constructors

SentInvitation({required String code, required DateTime expiresAt, required Map<String, dynamic> publicDetails, String? contentKey, SentInvitationStatus status = SentInvitationStatus.pending, Atsign? acceptedBy, Map<String, dynamic>? acceptanceDetails})
const
SentInvitation.fromJson(Map<String, dynamic> json)
factory

Properties

acceptanceDetails → Map<String, dynamic>?
The details the invitee sent with the acceptance that was accepted.
final
acceptedBy → Atsign?
final
code → String
final
contentKey → String?
The content key, base64, when the invitation carries content.
final
expiresAt → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
publicDetails → Map<String, dynamic>
The app's details, as published in the preview for anyone holding the link.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → SentInvitationStatus
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
withStatus(SentInvitationStatus status, {Atsign? acceptedBy, Map<String, dynamic>? acceptanceDetails}) → SentInvitation

Operators

operator ==(Object other) → bool
The equality operator.
inherited