addGeotagWithExpectedLocation method Null safety
- JSONObject data,
- Location expectedLocation
Adds a new geotag with expected location
Implementation
Future<Result<LocationWithDeviation, LocationError>>
addGeotagWithExpectedLocation(
JSONObject data, Location expectedLocation) {
return _invokeSdkMethod(
SdkMethod.addGeotag, serializeGeotagData(data, expectedLocation))
.then((value) {
return deserializeLocationWithDeviationResult(value);
});
}