GoogleAnalyticsAdminV1betaCustomMetric.fromJson constructor
GoogleAnalyticsAdminV1betaCustomMetric.fromJson(
- Map json_
Implementation
GoogleAnalyticsAdminV1betaCustomMetric.fromJson(core.Map json_)
: this(
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
measurementUnit: json_.containsKey('measurementUnit')
? json_['measurementUnit'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
parameterName: json_.containsKey('parameterName')
? json_['parameterName'] as core.String
: null,
restrictedMetricType: json_.containsKey('restrictedMetricType')
? (json_['restrictedMetricType'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
scope:
json_.containsKey('scope') ? json_['scope'] as core.String : null,
);