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