NodeType.fromJson constructor
NodeType.fromJson(
- Map json_
Implementation
NodeType.fromJson(core.Map json_)
: this(
availableCustomCoreCounts:
(json_['availableCustomCoreCounts'] as core.List?)
?.map((value) => value as core.int)
.toList(),
capabilities: (json_['capabilities'] as core.List?)
?.map((value) => value as core.String)
.toList(),
diskSizeGb: json_['diskSizeGb'] as core.int?,
displayName: json_['displayName'] as core.String?,
families: (json_['families'] as core.List?)
?.map((value) => value as core.String)
.toList(),
kind: json_['kind'] as core.String?,
memoryGb: json_['memoryGb'] as core.int?,
name: json_['name'] as core.String?,
nodeTypeId: json_['nodeTypeId'] as core.String?,
totalCoreCount: json_['totalCoreCount'] as core.int?,
virtualCpuCount: json_['virtualCpuCount'] as core.int?,
);