getAllFTP static method

Future<PortList> getAllFTP(
  1. Device device
)

Implementation

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