SchedulerResource.fromJson constructor
SchedulerResource.fromJson(
- Map json_
Implementation
SchedulerResource.fromJson(core.Map json_)
: this(
count: json_.containsKey('count') ? json_['count'] as core.int : null,
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,
);