getAllUDP static method

Future<PortList> getAllUDP(
  1. Device device
)

Implementation

static Future<PortList> getAllUDP(Device device) async {
  final channel = await Channel.getOpenIoTHubChannel();
  final stub = CommonDeviceManagerClient(channel);
  final response = await stub.getAllUDP(device);
  print('Greeter client received: ${response}');
  channel.shutdown();
  return response;
}