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