addGeotag method Null safety

Future<Result<Location, LocationError>> addGeotag(
  1. JSONObject data
)

Adds a new geotag

Implementation

Future<Result<Location, LocationError>> addGeotag(JSONObject data) {
  return _invokeSdkMethod(SdkMethod.addGeotag, serializeGeotag(data))
      .then((value) {
    return deserializeLocationResult(value);
  });
}