Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

searchNearbyWithRankBy fails with an error #135

Open
Muniru0 opened this issue Sep 15, 2021 · 0 comments
Open

searchNearbyWithRankBy fails with an error #135

Muniru0 opened this issue Sep 15, 2021 · 0 comments

Comments

@Muniru0
Copy link

Muniru0 commented Sep 15, 2021


For solutions, see https://dart.dev/go/unsound-null-safety
lib/ui/routes/select_location_on_map_route.dart:824:97: Error: Too many positional arguments: 0 allowed, but 2 found.
Try removing the extra positional arguments.
                   PlacesSearchResponse response = await places.searchNearbyWithRankBy( Location(latitude, longitude), "distance", keyword: '' );

Even though the location and rank is required parameters. Please any help will be appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant