UnsampledReport.fromJson constructor
UnsampledReport.fromJson(
- Map json_
Implementation
UnsampledReport.fromJson(core.Map json_)
: this(
accountId: json_.containsKey('accountId')
? json_['accountId'] as core.String
: null,
cloudStorageDownloadDetails:
json_.containsKey('cloudStorageDownloadDetails')
? UnsampledReportCloudStorageDownloadDetails.fromJson(
json_['cloudStorageDownloadDetails']
as core.Map<core.String, core.dynamic>)
: null,
created: json_.containsKey('created')
? core.DateTime.parse(json_['created'] as core.String)
: null,
dimensions: json_.containsKey('dimensions')
? json_['dimensions'] as core.String
: null,
downloadType: json_.containsKey('downloadType')
? json_['downloadType'] as core.String
: null,
driveDownloadDetails: json_.containsKey('driveDownloadDetails')
? UnsampledReportDriveDownloadDetails.fromJson(
json_['driveDownloadDetails']
as core.Map<core.String, core.dynamic>)
: null,
endDate: json_.containsKey('end-date')
? json_['end-date'] as core.String
: null,
filters: json_.containsKey('filters')
? json_['filters'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
metrics: json_.containsKey('metrics')
? json_['metrics'] as core.String
: null,
profileId: json_.containsKey('profileId')
? json_['profileId'] as core.String
: null,
segment: json_.containsKey('segment')
? json_['segment'] as core.String
: null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
startDate: json_.containsKey('start-date')
? json_['start-date'] as core.String
: null,
status: json_.containsKey('status')
? json_['status'] as core.String
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
updated: json_.containsKey('updated')
? core.DateTime.parse(json_['updated'] as core.String)
: null,
webPropertyId: json_.containsKey('webPropertyId')
? json_['webPropertyId'] as core.String
: null,
);