public <V> VertexProperty<V> getVertexProperty() {
        return (VertexProperty<V>) resultObject;
    }
Gets the result item by casting it to a {@link VertexProperty}.
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Result.java