Reporter class abstract

Constructors

Reporter()

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

clearAppEnvironment() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseSession() Future<void>
Suspends the current foreground session.
putAppEnvironmentValue(String key, String? value) Future<void>
reportAdRevenue(AdRevenue adRevenue) Future<void>
Sends information about ad revenue.
reportECommerce(ECommerceEvent event) Future<void>
Sends ecommerce-event.
reportError({String? message, AppMetricaErrorDescription? errorDescription}) Future<void>
Sends an error with the message message and the description ErrorDescription. If there is no errorDescription description, the current stacktrace will be added automatically.
reportErrorWithGroup(String groupId, {AppMetricaErrorDescription? errorDescription, String? message}) Future<void>
Sends an error with its own identifier groupId. Errors in reports are grouped by it.
reportEvent(String eventName) Future<void>
Sends a custom event message.
reportEventWithJson(String eventName, String? attributesJson) Future<void>
Sends an event message in JSON format attributesJson as a string and a short name or description of the event eventName.
reportEventWithMap(String eventName, Map<String, Object>? attributes) Future<void>
Sends an event as a set of attributes attributes Map and the short name or description of the event eventName.
reportRevenue(Revenue revenue) Future<void>
Sends the purchase information to the AppMetrica server.
reportUnhandledException(AppMetricaErrorDescription error) Future<void>
Sends an unhandled exception error.
reportUserProfile(UserProfile userProfile) Future<void>
Sends information about updating the user profile.
resumeSession() Future<void>
Resumes the foreground session or creates a new one if the session timeout has expired.
sendEventsBuffer() Future<void>
Sends saved events from the buffer.
setDataSendingEnabled(bool enabled) Future<void>
Enables/disables sending statistics to the AppMetrica server.
setUserProfileID(String? userProfileID) Future<void>
Sets the ID for the user profile.
toString() String
A string representation of this object.
inherited

Operators

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