MetricDimension class

The dimension of a metric.

Constructors

MetricDimension({required String dimensionName, DimensionValueOperator? operator})
MetricDimension.fromJson(Map<String, dynamic> json)
factory

Properties

dimensionName String
A unique identifier for the dimension.
final
hashCode int
The hash code for this object.
no setterinherited
operator DimensionValueOperator?
Defines how the dimensionValues of a dimension are interpreted. For example, for dimension type TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one of the topic filters. With NOT_IN operator, a message will be counted only if it doesn't match any of the topic filters. The operator is optional: if it's not provided (is null), it will be interpreted as IN.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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