Skip to content

Commit

Permalink
add meta nullsafe dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
maRci002 committed Mar 25, 2021
1 parent 03327a0 commit 7002ece
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/src/globals/projection_store.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ProjectionStore {

// Key: Cordinate System / Country / Code / !Any alias!
// Value: Projection
final Map<String, Projection > _projectionCache;
final Map<String, Projection> _projectionCache;

bool get isEmpty => _projectionCache.isEmpty;

Expand All @@ -33,9 +33,11 @@ class ProjectionStore {
}

/// Private constructor
ProjectionStore._internalInitializer(
{required Projection wgs84, required Projection nad83, required Projection google})
: WGS84 = wgs84,
ProjectionStore._internalInitializer({
required Projection wgs84,
required Projection nad83,
required Projection google,
}) : WGS84 = wgs84,
GOOGLE = google,
NAD83 = nad83,
_projectionCache = {} {
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ environment:
dependencies:
mgrs_dart: ^2.0.0
wkt_parser: ^2.0.0
meta: ^1.3.0

dev_dependencies:
pedantic: ^1.9.0
Expand Down

0 comments on commit 7002ece

Please sign in to comment.