WebVitalSample class
A privacy-preserving observation of a single Web Vital metric.
Constructors
- WebVitalSample({required WebVitalName name, required double value, required String path, required DateTime timestamp, String? connectionType})
-
const
Properties
- connectionType → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → WebVitalName
-
final
- path → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
final
- value → double
-
final
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
sanitizePath(
String rawUrlOrPath) → String - Sanitizes incoming URL path to ensure zero PII or sensitive query tokens are stored.