deleteOneUDP static method
Implementation
static Future deleteOneUDP(PortConfig config) async {
final channel = await Channel.getOpenIoTHubChannel();
final stub = CommonDeviceManagerClient(channel);
final response = await stub.deleteOneUDP(config);
print('Greeter client received: ${response}');
channel.shutdown();
PortInfo portInfo = PortInfo();
portInfo.uUID = config.uuid;
PortManager.DelPort(portInfo);
}