unRegister method
Implementation
unRegister(String mc_token) {
print("here in un register");
Map<String, dynamic> registerjson = {
"type": "request",
"requestType": "un_register",
"requestId": _generateMd5(
DateTime.now().millisecondsSinceEpoch.toString() +
tenantID +
ref_id!),
"mcToken": mc_token
};
print("this is json un register $registerjson $requestIDType");
_socket?.send(registerjson);
isCallStart = 0;
timer?.cancel();
}