deleteLocationData function

Future<bool> deleteLocationData(
  1. LocationNotificationModel locationNotificationModel
)

deletes the location notification of the logged in atsign being shared with locationNotificationModel.receiver

Implementation

Future<bool> deleteLocationData(
    LocationNotificationModel locationNotificationModel) async {
  // ignore: todo
  // TODO: verify receiver
  var result = await SendLocationNotification()
      .sendNull([locationNotificationModel.receiver!]);
  return result;
}