InvitationPreview class
What an invitation's public preview record holds.
Anyone holding the invitation link can read it.
- Annotations
-
- @experimental
Constructors
-
InvitationPreview({required Map<
String, dynamic> publicDetails, required DateTime expiresAt, SealedInvitationContent? content}) -
const
-
InvitationPreview.fromJson(Map<
String, dynamic> json) -
Reads a preview, throwing a FormatException for one this version
cannot read.
factory
Properties
- content → SealedInvitationContent?
-
The content, when it travels in the preview rather than out of band.
final
- expiresAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
publicDetails
→ Map<
String, dynamic> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited