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