UsageReports.fromJson constructor
UsageReports.fromJson(
- Map json_
Implementation
UsageReports.fromJson(core.Map json_)
: this(
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
usageReports: json_.containsKey('usageReports')
? (json_['usageReports'] as core.List)
.map((value) => UsageReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
warnings: json_.containsKey('warnings')
? (json_['warnings'] as core.List)
.map((value) => UsageReportsWarnings.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);