WebServerResource.fromJson constructor
WebServerResource.fromJson(
- Map json_
Implementation
WebServerResource.fromJson(core.Map json_)
: this(
cpu: json_.containsKey('cpu')
? (json_['cpu'] as core.num).toDouble()
: null,
memoryGb: json_.containsKey('memoryGb')
? (json_['memoryGb'] as core.num).toDouble()
: null,
storageGb: json_.containsKey('storageGb')
? (json_['storageGb'] as core.num).toDouble()
: null,
);