DockerImage.fromJson constructor
DockerImage.fromJson(
- Map json_
Implementation
DockerImage.fromJson(core.Map json_)
: this(
buildTime: json_.containsKey('buildTime')
? json_['buildTime'] as core.String
: null,
imageSizeBytes: json_.containsKey('imageSizeBytes')
? json_['imageSizeBytes'] as core.String
: null,
mediaType: json_.containsKey('mediaType')
? json_['mediaType'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
tags: json_.containsKey('tags')
? (json_['tags'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
uploadTime: json_.containsKey('uploadTime')
? json_['uploadTime'] as core.String
: null,
uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
);