code: public static <T> T prop(JavaScriptObject o, Object id, Class<? extends T> type) {
      return o == null ? null : o.<JsCache> cast().get(id, type);
    }
docs: Returns a property present in a javascript object.