ImageImport.fromJson constructor
ImageImport.fromJson(
- Map json_
Implementation
ImageImport.fromJson(core.Map json_)
: this(
cloudStorageUri: json_.containsKey('cloudStorageUri')
? json_['cloudStorageUri'] as core.String
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
diskImageTargetDefaults: json_.containsKey('diskImageTargetDefaults')
? DiskImageTargetDetails.fromJson(json_['diskImageTargetDefaults']
as core.Map<core.String, core.dynamic>)
: null,
encryption: json_.containsKey('encryption')
? Encryption.fromJson(
json_['encryption'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
recentImageImportJobs: json_.containsKey('recentImageImportJobs')
? (json_['recentImageImportJobs'] as core.List)
.map((value) => ImageImportJob.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);