GoogleAnalyticsAdminV1betaAccessOrderBy.fromJson constructor

GoogleAnalyticsAdminV1betaAccessOrderBy.fromJson(
  1. Map json_
)

Implementation

GoogleAnalyticsAdminV1betaAccessOrderBy.fromJson(core.Map json_)
    : this(
        desc: json_.containsKey('desc') ? json_['desc'] as core.bool : null,
        dimension: json_.containsKey('dimension')
            ? GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy
                .fromJson(
                    json_['dimension'] as core.Map<core.String, core.dynamic>)
            : null,
        metric: json_.containsKey('metric')
            ? GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy.fromJson(
                json_['metric'] as core.Map<core.String, core.dynamic>)
            : null,
      );