@override Object toJson() => { if (port.isNotDefault) 'port': port, if (host.isNotDefault) 'host': host, };