FormicaTrackerPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FormicaTrackerPlatform
Implementers

Constructors

FormicaTrackerPlatform()
Constructs a FormicaTrackerPlatform.

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

getCollectedVariables() Future<Map<String, dynamic>>
Gets all collected variables from the SDK
getConfiguration() Future<Map<String, dynamic>>
Gets the current tracker configuration from the backend
getUserDefinedValues() Future<Map<String, dynamic>>
initialize({required String apiKey, required String serviceUrl, required String tenant, List<String>? spkiPins, int? timeout}) Future<void>
initializeWithConfig(TrackerConfiguration config) Future<void>
isInitialized() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeNativeEventListener() Future<void>
setNativeEventListener(void callback(Map<String, dynamic>)) Future<void>
setUserDefinedValues(String key, dynamic value) Future<void>
terminate() Future<void>
Terminates the SDK and cleans up resources (iOS only, no-op on Android)
toString() String
A string representation of this object.
inherited
triggerCustomEvent(String eventName, HashMap<String, dynamic> args) Future<void>
triggerCustomEventSync(String eventName, HashMap<String, dynamic> args, RequestConfig config) Future<GenericResponse<TransactionSubmitResult>>

Operators

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

Static Properties

instance FormicaTrackerPlatform
The default instance of FormicaTrackerPlatform to use.
getter/setter pair