From 372b8a9d094ff8e06abe85ed08a394e151f92954 Mon Sep 17 00:00:00 2001 From: Dimitrie-Toma Furdui Date: Thu, 11 May 2023 07:36:08 +0300 Subject: [PATCH] fix json decoding error when provider is null --- lib/location_dto.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/location_dto.dart b/lib/location_dto.dart index c78022fe..c90a521c 100644 --- a/lib/location_dto.dart +++ b/lib/location_dto.dart @@ -12,7 +12,7 @@ class LocationDto { final double heading; final double time; final bool isMocked; - final String provider; + final String? provider; LocationDto._( this.latitude,