We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bd2e8b commit d69546eCopy full SHA for d69546e
lib/src/utils/validators.dart
@@ -367,6 +367,8 @@ bool isJSON(String value) {
367
}
368
369
bool isLatitude(String value) {
370
+ value = value.replaceAll(',', '.');
371
+
372
final double? latitude = double.tryParse(value);
373
if (latitude == null) {
374
return false;
@@ -375,6 +377,8 @@ bool isLatitude(String value) {
375
377
376
378
379
bool isLongitude(String value) {
380
381
382
final double? longitude = double.tryParse(value);
383
if (longitude == null) {
384
0 commit comments