addGeotagDeprecated static method Null safety

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

Deprecated. Use addGeotag with orderHandle and orderStatus instead.

Implementation

static Future<Result<Location, LocationError>> addGeotagDeprecated(
    JSONObject data) {
  return _invokeSdkMethod<Map<Object?, Object?>>(
          SdkMethod.addGeotag, serializeGeotagData(null, null, data, null))
      .then((value) {
    return deserializeLocationResult(value);
  });
}