DatafeedStatus.fromJson constructor
DatafeedStatus.fromJson(
- Map json_
Implementation
DatafeedStatus.fromJson(core.Map json_)
: this(
country: json_.containsKey('country')
? json_['country'] as core.String
: null,
datafeedId: json_.containsKey('datafeedId')
? json_['datafeedId'] as core.String
: null,
errors: json_.containsKey('errors')
? (json_['errors'] as core.List)
.map((value) => DatafeedStatusError.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
feedLabel: json_.containsKey('feedLabel')
? json_['feedLabel'] as core.String
: null,
itemsTotal: json_.containsKey('itemsTotal')
? json_['itemsTotal'] as core.String
: null,
itemsValid: json_.containsKey('itemsValid')
? json_['itemsValid'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
language: json_.containsKey('language')
? json_['language'] as core.String
: null,
lastUploadDate: json_.containsKey('lastUploadDate')
? json_['lastUploadDate'] as core.String
: null,
processingStatus: json_.containsKey('processingStatus')
? json_['processingStatus'] as core.String
: null,
warnings: json_.containsKey('warnings')
? (json_['warnings'] as core.List)
.map((value) => DatafeedStatusError.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);