PageViewTelemetryItem class

Represents a page view telemetry item in Application Insights.

Implemented types
Annotations
  • @immutable

Constructors

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

Properties

additionalProperties Map<String, Object>
Any additional properties to submit with the telemetry.
final
duration Duration?
How long the page took to display, which is optional.
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
id String?
The ID of the page, which is optional.
final
name String
The page name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
When the telemetry was created.
final
url String?
The URL of the page, which is optional.
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