GoogleAnalyticsAdminV1alphaCustomMetric.fromJson constructor

GoogleAnalyticsAdminV1alphaCustomMetric.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaCustomMetric.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,
        scope:
            _json.containsKey('scope') ? _json['scope'] as core.String : null,
      );