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