PortService constructor
Implementation
factory PortService({
$core.String? ip,
$core.int? port,
$core.bool? isLocal,
$core.Map<$core.String, $core.String>? info,
}) {
final $result = create();
if (ip != null) {
$result.ip = ip;
}
if (port != null) {
$result.port = port;
}
if (isLocal != null) {
$result.isLocal = isLocal;
}
if (info != null) {
$result.info.addAll(info);
}
return $result;
}