addEncryptedPlace static method
- Place place,
- BuildContext context,
- Widget child
Add a single encrypted place. Uses local cache to avoid fetching from server if available. IMPORTANT: If cache is empty, ensures security key is available before fetching existing places to prevent data loss.
Implementation
static Future<bool> addEncryptedPlace(
Place place,
BuildContext context,
Widget child,
) async {
return addEncryptedPlacesBatch([place], context, child);
}