PerformanceMetric class
Represents a performance metric measurement
Constructors
Properties
- description → String?
-
Optional description of the metric
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Unique identifier for the metric
final
- name → String
-
Name of the metric
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Optional tags for categorizing the metric
final
- timestamp → DateTime
-
Timestamp when the metric was recorded
final
- unit → String
-
Unit of measurement (ms, MB, %, etc.)
final
- value → double
-
Numeric value of the metric
final
Methods
-
copyWith(
{String? id, String? name, double? value, String? unit, DateTime? timestamp, String? description, Map< String, String> ? tags}) → PerformanceMetric - Creates a copy of this PerformanceMetric with the given fields replaced
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override