sendNull method
Implementation
Future<bool> sendNull(
LocationNotificationModel locationNotificationModel) async {
var atkeyMicrosecondId =
locationNotificationModel.key!.split('-')[1].split('@')[0];
var atKey = newAtKey(-1, 'locationnotify-$atkeyMicrosecondId',
locationNotificationModel.receiver);
var result =
await atClient!.delete(atKey, isDedicated: MixedConstants.isDedicated);
print('$atKey delete operation $result');
if (result) {
if (MixedConstants.isDedicated) {
await SyncSecondary().callSyncSecondary(SyncOperation.syncSecondary);
}
}
return result;
}