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