PostEventRequest class

Constructors

PostEventRequest({String? distinctId, String? event, Map<String, Object> properties = const {}, String? time, String? type, List<InsightsEvent> batch = const [], List<CaptureEvent> events = const [], String? distinctIdLegacy, String? timestamp, String? uuid})
Returns a new PostEventRequest instance.

Properties

batch ↔ List<InsightsEvent>
getter/setter pair
distinctId ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
distinctIdLegacy ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
event ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
events ↔ List<CaptureEvent>
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
properties ↔ Map<String, Object>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
time ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
timestamp ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
type ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
uuid ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair

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.
override

Operators

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

Static Methods

fromJson(dynamic value) → PostEventRequest?
Returns a new PostEventRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<PostEventRequest>
mapFromJson(dynamic json) → Map<String, PostEventRequest>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<PostEventRequest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.