static fun fromCanonicalForm(inviteCode: String!): Invite!
(source)
Takes an invite string in its canonical form and parses it into an Invite object, throwing an error if it is not of the expected format.
inviteCode
- String!: the invite code in its canonical form
Return
Invite!: the invite code