createReferrerShortLink static method

void createReferrerShortLink(
  1. String baseLink,
  2. String referrerName,
  3. String referrerId,
  4. Map args,
  5. ShortLinkCallback shortLinkCallback,
)

Implementation

static void createReferrerShortLink(String baseLink,
                                      String referrerName,
                                      String referrerId,
                                      Map args,
                                      ShortLinkCallback shortLinkCallback){

  _channel.invokeMethod('createReferrerShortLink',
  {
    'baseLink': baseLink,
    'referrerName': referrerName,
    'referrerId': referrerId,
    'args': args
  });

  singularConfig?.setShortLinkCallback(shortLinkCallback);
}