getOneFTP static method

Future<PortConfig> getOneFTP(
  1. PortConfig config
)

Implementation

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