ListTrafficStatsResponse.fromJson constructor
ListTrafficStatsResponse.fromJson(
- Map json_
Implementation
ListTrafficStatsResponse.fromJson(core.Map json_)
: this(
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
trafficStats: json_.containsKey('trafficStats')
? (json_['trafficStats'] as core.List)
.map((value) => TrafficStats.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);