Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiedentop committed Feb 17, 2024
1 parent 02f4584 commit ddf6947
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/booleans/boolean_within.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import 'boolean_helper.dart';
///
/// example:
/// ```dart
/// var point = Point(coordinates: [1, 2]);
/// var line = LineString(
/// final point = Point(coordinates: [1, 2]);
/// final line = LineString(
/// coordinates: [
/// Position.of([1, 1]),
/// Position.of([1, 2]),
Expand All @@ -27,8 +27,8 @@ bool booleanWithin(
GeoJSONObject feature1,
GeoJSONObject feature2,
) {
var geom1 = getGeom(feature1);
var geom2 = getGeom(feature2);
final geom1 = getGeom(feature1);
final geom2 = getGeom(feature2);

switch (geom1.runtimeType) {
case Point:
Expand Down

0 comments on commit ddf6947

Please sign in to comment.