DagProcessorResource.fromJson constructor
DagProcessorResource.fromJson(
- Map json_
Implementation
DagProcessorResource.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,
);