factory NetAddr({ _i4.Transport? transport, _i2.String? hostname, _i2.num? port, }) => NetAddr._( transport: transport?.name ?? _i6.undefined, hostname: hostname, port: port, );