Metric class

Metrics are the quantitative measurements.

For example, the metric ga:users indicates the total number of users for the requested time period.

Constructors

Metric({String? alias, String? expression, String? formattingType})
Metric.fromJson(Map json_)

Properties

alias String?
An alias for the metric expression is an alternate name for the expression.
getter/setter pair
expression String?
A metric expression in the request.
getter/setter pair
formattingType String?
Specifies how the metric expression should be formatted, for example INTEGER. Possible string values are:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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