DelPort static method
Implementation
static Future<OperationResponse> DelPort(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.delPort(portInfo);
print('DelPort: ${operationResponse}');
channel.shutdown();
return operationResponse;
}