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