InvitationLink class

What an invitation link carries: who sent it, and which invitation.

The link is https://<host>/i#@alice/<id>. The invitation sits in the URL fragment, which browsers never send to the host, so the landing page's server does not learn it. The code never appears in the link.

Annotations
  • @experimental

Constructors

InvitationLink({required Atsign inviter, required String id})
const
InvitationLink.parse(String text)
Parses a full link, or the bare @alice/<id> its fragment holds.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
final
inviter → Atsign
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
toString() → String
A string representation of this object.
override
toUrl(String linkBase) → String
The link to send, for a landing page at linkBase (e.g. https://invite.example.com).

Operators

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