Skip to content

Commit

Permalink
Fix import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
pervoj committed Jan 13, 2024
1 parent b044334 commit c1c9a99
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/src/methods/reverse.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import "dart:convert";
import "package:http/http.dart";
import "package:latlong2/latlong.dart";

import "../../nominatim.dart";
import "../../dart_nominatim.dart";
import "../constants.dart";

Future<Place> searchPosition(LatLng position) async {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/methods/search.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import "dart:convert";
import "package:http/http.dart";
import "package:latlong2/latlong.dart";

import "../../dart_nominatim.dart";
import "../constants.dart";
import "../models/place.dart";

Future<List<Place>> searchPlaces(String query) async {
final params = {
Expand Down
3 changes: 1 addition & 2 deletions lib/src/models/place.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import "package:latlong2/latlong.dart";

import "address.dart";
import "bounding_box.dart";
import "../../dart_nominatim.dart";

class Place {
final int placeId;
Expand Down
2 changes: 1 addition & 1 deletion test/nominatim_test.dart → test/dart_nominatim_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "package:dart_nominatim/dart_nominatim.dart";
import "package:latlong2/latlong.dart";
import "package:nominatim/nominatim.dart";
import "package:test/test.dart";

void main() async {
Expand Down

0 comments on commit c1c9a99

Please sign in to comment.