We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 741dc82 commit 5051091Copy full SHA for 5051091
lib/location_dto.dart
@@ -40,7 +40,7 @@ class LocationDto {
40
json[Keys.ARG_HEADING],
41
json[Keys.ARG_TIME],
42
isLocationMocked,
43
- json[Keys.ARG_PROVIDER],
+ json.containsKey(Keys.ARG_PROVIDER) ? json[Keys.ARG_PROVIDER] : "",
44
);
45
}
46
0 commit comments