VmwareEnginePreferences.fromJson constructor
VmwareEnginePreferences.fromJson(
- Map json_
Implementation
VmwareEnginePreferences.fromJson(core.Map json_)
: this(
commitmentPlan: json_.containsKey('commitmentPlan')
? json_['commitmentPlan'] as core.String
: null,
cpuOvercommitRatio: json_.containsKey('cpuOvercommitRatio')
? (json_['cpuOvercommitRatio'] as core.num).toDouble()
: null,
memoryOvercommitRatio: json_.containsKey('memoryOvercommitRatio')
? (json_['memoryOvercommitRatio'] as core.num).toDouble()
: null,
storageDeduplicationCompressionRatio:
json_.containsKey('storageDeduplicationCompressionRatio')
? (json_['storageDeduplicationCompressionRatio'] as core.num)
.toDouble()
: null,
);