MetricMetadata class

Explains a metric.

Constructors

MetricMetadata({String? apiName, List<String>? blockedReasons, String? category, bool? customDefinition, List<String>? deprecatedApiNames, String? description, String? expression, String? type, String? uiName})
MetricMetadata.fromJson(Map json_)

Properties

apiName String?
A metric name.
getter/setter pair
blockedReasons List<String>?
If reasons are specified, your access is blocked to this metric for this property.
getter/setter pair
category String?
The display name of the category that this metrics belongs to.
getter/setter pair
customDefinition bool?
True if the metric is a custom metric for this property.
getter/setter pair
deprecatedApiNames List<String>?
Still usable but deprecated names for this metric.
getter/setter pair
description String?
Description of how this metric is used and calculated.
getter/setter pair
expression String?
The mathematical expression for this derived metric.
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
type String?
The type of this metric. Possible string values are:
getter/setter pair
uiName String?
This metric's name within the Google Analytics user interface.
getter/setter pair

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