AddPort static method
Implementation
static Future<OperationResponse> AddPort(PortInfo portInfo) async {
String jwt = await getJWT();
final channel = await Channel.getDefaultIoTManagerChannel();
final stub = PortManagerClient(channel,
options: CallOptions(metadata: {'jwt': jwt}));
OperationResponse operationResponse = await stub.addPort(portInfo);
print('AddPort: ${operationResponse}');
channel.shutdown();
return operationResponse;
}