willPop method
dynamic
willPop()
Implementation
willPop() {
var da = isOnlineCall;
if (da!) {
offline();
}
socket.off("typing-res");
socket.off("online-status");
socket.off("receive-message");
leaveConvo(groupId: groupId, userId: AppStorages.myUserId);
Navigator.pop(context);
}