RequestTelemetryItem constructor
RequestTelemetryItem({})
Creates an instance of RequestTelemetryItem with the specified id, duration, and responseCode.
Implementation
RequestTelemetryItem({
required this.id,
required this.duration,
required this.responseCode,
this.source,
this.name,
this.success,
this.url,
this.additionalProperties = const <String, Object>{},
DateTime? timestamp,
}) : assert(timestamp == null || timestamp.isUtc),
timestamp = timestamp ?? DateTime.now().toUtc();