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