findAtSignsToShareLocationWith method

void findAtSignsToShareLocationWith()

checks for atsigns to share location with.

Implementation

void findAtSignsToShareLocationWith() {
  List<LocationDataModel> _newlocationDataModel = [];
  for (var notification in KeyStreamService().allLocationNotifications) {
    LocationDataModel _locationDataModel =
        locationNotificationModelToLocationDataModel(
            notification.locationNotificationModel!);
    _newlocationDataModel.add(_locationDataModel);
  }
  compareForMissingInvites(_newlocationDataModel);

  isLocationDataInitialized = true;
  if ((isEventDataInitialized && isEventInUse) || !isEventInUse) {
    sendLocation();
  }
}