MetricQuery class

A single query to be processed. You must provide the metric to query. If no other parameters are specified, Performance Insights returns all of the data points for that metric. You can optionally request that the data points be aggregated by dimension group ( GroupBy), and return only those data points that match your criteria (Filter).

Constructors

MetricQuery({required String metric, Map<String, String>? filter, DimensionGroup? groupBy})

Properties

filter Map<String, String>?
One or more filters to apply in the request. Restrictions:
final
groupBy DimensionGroup?
A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights will return all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension.
final
hashCode int
The hash code for this object.
no setterinherited
metric String
The name of a Performance Insights metric to be measured.
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