Environment.fromJson constructor
Environment.fromJson(
- Map json_
Implementation
Environment.fromJson(core.Map json_)
: this(
config: json_.containsKey('config')
? EnvironmentConfig.fromJson(
json_['config'] as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
satisfiesPzs: json_.containsKey('satisfiesPzs')
? json_['satisfiesPzs'] as core.bool
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
storageConfig: json_.containsKey('storageConfig')
? StorageConfig.fromJson(
json_['storageConfig'] as core.Map<core.String, core.dynamic>)
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
uuid: json_.containsKey('uuid') ? json_['uuid'] as core.String : null,
);