getOneUDP static method
Implementation
static Future<PortConfig> getOneUDP(PortConfig config) async {
final channel = await Channel.getOpenIoTHubChannel();
final stub = CommonDeviceManagerClient(channel);
final response = await stub.getOneUDP(config);
print('Greeter client received: ${response}');
channel.shutdown();
return response;
}