loadLocalPlaces static method

  1. @Deprecated('Use getLocalPlacesSync() instead - local data is compiled in')
Future<List<Place>> loadLocalPlaces()

Load local example places (async wrapper for API compatibility). NOTE: Prefer using getLocalPlacesSync() directly as local places are now compiled into the app and don't require async loading.

Implementation

@Deprecated('Use getLocalPlacesSync() instead - local data is compiled in')
static Future<List<Place>> loadLocalPlaces() async => getLocalPlacesSync();