EventTelemetryItem class

Represents a custom event telemetry item in Application Insights.

Implemented types
Annotations
  • @immutable

Constructors

EventTelemetryItem({required String name, Map<String, Object> additionalProperties = const <String, Object>{}, DateTime? timestamp})
Creates an instance of EventTelemetryItem with the specified name.

Properties

additionalProperties Map<String, Object>
Any additional properties to submit with the telemetry.
final
envelopeName String
The Application Insights envelope name used when transmitting telemetry of this type.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
When the telemetry was created.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize({required TelemetryContext context}) Map<String, dynamic>
Gets a serialized representation of this telemetry.
override
toString() String
A string representation of this object.
inherited

Operators

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