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