removeEncryptedPlaces function

List<Place> removeEncryptedPlaces({
  1. required List<Place> allPlaces,
})

Removes encrypted places from all places list.

Implementation

List<Place> removeEncryptedPlaces({required List<Place> allPlaces}) {
  return allPlaces.where((p) => !p.isEncrypted).toList();
}