LinkRunner class

Constructors

LinkRunner()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
packageVersion String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
getter/setter pair

Methods

capturePayment({required LRCapturePayment capturePayment}) Future<void>
enablePIIHashing([bool enabled = true]) Future<void>
Enable or disable PII (Personally Identifiable Information) hashing When enabled, sensitive user data like name, email, and phone will be hashed using SHA-256 before being sent to the server
getAttributionData() Future<AttributionData?>
init(String token, [String? secretKey, String? keyId, bool disableIdfa = false, bool debug = false]) Future<void>
Initialize the LinkRunner SDK
isAaidCollectionDisabled() Future<bool>
Check if AAID (Google Advertising ID) collection is currently disabled on Android Returns true if AAID collection is disabled, false otherwise
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removePayment({required LRRemovePayment removePayment}) Future<void>
setAdditionalData({required Map<String, dynamic> integrationData}) Future<void>
setDisableAaidCollection([bool disabled = true]) Future<void>
Disable AAID (Google Advertising ID) collection on Android When disabled, the SDK will not collect or send the Google Advertising ID (GAID). This is useful for apps targeting children or families to comply with Google Play's Family Policy.
setPushToken(String pushToken) Future<void>
Set the push notification token for the current device This enables LinkRunner to send push notifications to this device
setUserData({required LRUserData userData}) Future<void>
signup({required LRUserData userData, Map<String, dynamic>? data}) Future<void>
toString() String
A string representation of this object.
inherited
trackEvent({required String eventName, Map<String, dynamic>? eventData, Object? eventId}) Future<void>

Operators

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