acknowledgeLocations method

  1. @override
Future<void> acknowledgeLocations(
  1. Iterable<String> eventIds
)
override

Implementation

@override
Future<void> acknowledgeLocations(Iterable<String> eventIds) async {
  _throwIfScheduled('acknowledgeLocations');
  final ids = eventIds.toSet();
  calls.add(FakeTrackingCall('acknowledgeLocations', <String, Object?>{
    'count': ids.length,
  }));
  pending.removeWhere((sample) => ids.contains(sample.eventId));
}