toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (headNodeResourcePoolId != null)
'headNodeResourcePoolId': headNodeResourcePoolId!,
if (imageUri != null) 'imageUri': imageUri!,
if (rayMetricSpec != null) 'rayMetricSpec': rayMetricSpec!,
if (resourcePoolImages != null)
'resourcePoolImages': resourcePoolImages!,
};