UnbindWechat static method
Future<OperationResponse>
UnbindWechat(
)
Implementation
static Future<OperationResponse> UnbindWechat() async {
String jwt = await getJWT();
final channel = await Channel.getDefaultIoTManagerChannel();
final stub = UserManagerClient(channel,
options: CallOptions(metadata: {'jwt': jwt}));
Empty empty = Empty();
OperationResponse operationResponse = await stub.unbindWechat(empty);
print('GetUserLoginResponse: ${operationResponse}');
channel.shutdown();
return operationResponse;
}