UserPageLoadMetricV5.fromJson constructor

UserPageLoadMetricV5.fromJson(
  1. Map json_
)

Implementation

UserPageLoadMetricV5.fromJson(core.Map json_)
    : this(
        category: json_['category'] as core.String?,
        distributions: (json_['distributions'] as core.List?)
            ?.map((value) =>
                Bucket.fromJson(value as core.Map<core.String, core.dynamic>))
            .toList(),
        formFactor: json_['formFactor'] as core.String?,
        median: json_['median'] as core.int?,
        metricId: json_['metricId'] as core.String?,
        percentile: json_['percentile'] as core.int?,
      );