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