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