Dimension class

A dimension is a name/value pair that is part of the identity of a metric. You can assign up to 10 dimensions to a metric. Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric.

Constructors

Dimension({required String name, required String value})
Dimension.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the dimension. Dimension names cannot contain blank spaces or non-ASCII characters.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The value of the dimension. Dimension values cannot contain blank spaces or non-ASCII characters.
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