DelHost static method
Implementation
static Future<OperationResponse> DelHost(HostInfo hostInfo) async {
String jwt = await getJWT();
final channel = await Channel.getDefaultIoTManagerChannel();
final stub = HostManagerClient(channel,
options: CallOptions(metadata: {'jwt': jwt}));
OperationResponse hostInfoList = await stub.delHost(hostInfo);
print('DelHost: ${hostInfoList}');
channel.shutdown();
return hostInfoList;
}