Environment.fromJson constructor
Environment.fromJson(
- Map json_
Implementation
Environment.fromJson(core.Map json_)
: this(
containerImage: json_.containsKey('containerImage')
? ContainerImage.fromJson(json_['containerImage']
as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
postStartupScript: json_.containsKey('postStartupScript')
? json_['postStartupScript'] as core.String
: null,
vmImage: json_.containsKey('vmImage')
? VmImage.fromJson(
json_['vmImage'] as core.Map<core.String, core.dynamic>)
: null,
);