core.Map<core.String, core.dynamic> toJson() => { if (nodeGroup != null) 'nodeGroup': nodeGroup!, if (nodeGroupId != null) 'nodeGroupId': nodeGroupId!, };