Metrix class
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
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
-
-
setShouldLaunchDeeplink(bool shouldLaunch)
→ void
-
-
setStore(String store)
→ void
-