updateHybridList method

void updateHybridList()

called for the first time pckage is entered from main app

Implementation

void updateHybridList() async {
  await Future.forEach(atsignsToTrack ?? [], (dynamic _atsign) async {
    var _user =
        MasterLocationService().getHybridModel(_atsign, id: notificationID);
    if (_user != null) {
      await updateDetails(_user);
    }
  });

  if (hybridUsersList.isNotEmpty) {
    if (!_atHybridUsersController.isClosed) {
      _atHybridUsersController.add(hybridUsersList);
    }
  }
}