createURL static method
Creates a Smart Link with user referral data attached used for Smart Invites.
content
Invite Content
Implementation
static Future<String> createURL(InviteContent? content) {
return NativeBridge.async(
'Invites.createLink', jsonEncode(content?.toJSON()))
.then((result) => jsonDecode(result)['result']);
}