diff --git a/example/lib/location_callback_handler.dart b/example/lib/location_callback_handler.dart index 6956e2b8..2c1b673c 100644 --- a/example/lib/location_callback_handler.dart +++ b/example/lib/location_callback_handler.dart @@ -4,6 +4,7 @@ import 'package:background_locator/location_dto.dart'; import 'location_service_repository.dart'; +@pragma('vm:entry-point') class LocationCallbackHandler { static Future initCallback(Map params) async { LocationServiceRepository myLocationCallbackRepository =