Metrix class

Constructors

Metrix()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

isAndroid → bool
no setter
isIOS → bool
no setter
isWeb → bool
no setter
getter/setter pair

Static Methods

addUserAttributes(Map<String, String> attributes) → void
getAttributionData() → Stream<MetrixAttribution>
getDeeplinkResponse() → Future<String>
getSessionId() → Stream<String>
getSessionNumber() → Stream<int>
getUserId() → Stream<String>
initialize(String appId) → void
newEvent(String slug, [Map<String, String> attributes = const {}]) → void
newRevenue(String slug, double amount, {int currency = 0, String? orderId}) → void
setAppSecret(int id, int info1, int info2, int info3, int info4) → void
setDefaultTracker(String token) → void
setPushToken(String token) → void
setStore(String store) → void