userWentOffline static method

void userWentOffline(
  1. String jid
)

Implementation

static void userWentOffline(String jid) {
  if (Get.isRegistered<ChatController>(tag: controllerTag)) {
    Get.find<ChatController>(tag: controllerTag).userWentOffline(jid);
  }
  if (Get.isRegistered<ChatInfoController>()) {
    Get.find<ChatInfoController>().userWentOffline(jid);
  }
}