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