Event class

Specifies information about an event that reports data to Amazon Pinpoint.

Constructors

Event({required String eventType, required String timestamp, String? appPackageName, String? appTitle, String? appVersionCode, Map<String, String>? attributes, String? clientSdkVersion, Map<String, double>? metrics, String? sdkName, Session? session})

Properties

appPackageName String?
The package name of the app that's recording the event.
final
appTitle String?
The title of the app that's recording the event.
final
appVersionCode String?
The version number of the app that's recording the event.
final
attributes Map<String, String>?
One or more custom attributes that are associated with the event.
final
clientSdkVersion String?
The version of the SDK that's running on the client device.
final
eventType String
The name of the event.
final
hashCode int
The hash code for this object.
no setterinherited
metrics Map<String, double>?
One or more custom metrics that are associated with the event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkName String?
The name of the SDK that's being used to record the event.
final
session Session?
Information about the session in which the event occurred.
final
timestamp String
The date and time, in ISO 8601 format, when the event occurred.
final

Methods

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

Operators

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