addGeotag static method Null safety

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

Implementation

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