AnalyticsRecord class

This interface is used to represent the report generated by the analytics

Constructors

AnalyticsRecord({required String type, required String platform, Map<String, dynamic>? attributes, Map<String, dynamic>? component, String? beagleAction, String? event, Map<String, dynamic>? additionalEntries, required int timestamp, String? screen})

Properties

additionalEntries Map<String, dynamic>?
additionalEntries is a Map that contains additionalEntries provided by the ActionAnalyticsConfig
getter/setter pair
attributes Map<String, dynamic>?
attributes is a Map in which the key is the attribute of the report and the the value is the value of the attribute that will be reported
getter/setter pair
beagleAction String?
beagleAction is a String that contains the name of the action reported
getter/setter pair
component Map<String, dynamic>?
component is a Map in which have some properties about the component that called the action
getter/setter pair
event String?
event is a String that contains the name of the event that caused the action
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
platform String
platform is a String that represents the platform that generated the analytics report
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screen String?
screen is a String that contains the screen url/id
getter/setter pair
timestamp int
timestamp is a Long that have the timestamp when the action was called.
getter/setter pair
type String
type is a String that represent the type of our report, if the report is an action or a screen
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Creates a map with the attributes of this class
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromMap(Map<String, dynamic> map) AnalyticsRecord