ChottuLinkPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • ChottuLinkPlatform
Implementers

Constructors

ChottuLinkPlatform()
Constructs a ChottuLinkPlatform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

Method to create a dynamic link, accepting a map of parameters. Should return a Future which is the short URL or null on error.
flush() → Future<void>
getApiKey() → Future<String>
getAppLinkData() → Future<void>
getAppLinkDataFromUrl({required String shortUrl, dynamic onSuccess(ResolvedLink)?, dynamic onError(ChottuLinkError)?}) → Future<void>
getAttributionData() → Future<Map?>
Returns cached attribution data if available, otherwise null.
identify(Map<String, dynamic> meta) → Future<void>
init({required String apiKey, List<String>? allowedDomains}) → Future<String?>
isOptedOut() → Future<bool>
logout() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
optOut(bool optOut) → Future<void>
toString() → String
A string representation of this object.
inherited
trackConversion(Map<String, dynamic> meta) → Future<void>
trackEvent(String eventName, Map<String, dynamic>? eventData) → Future<void>
trackLead(Map<String, dynamic> meta) → Future<void>

Operators

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

Static Properties

instance ↔ ChottuLinkPlatform
The default instance of ChottuLinkPlatform to use.
getter/setter pair