ufTable: Using getTableStateVars method

In the tables documentation, there seems to be two possible methods that can be used, with getTableStateVars as one.

I want to use this method in my JS code after the table has been created but I’m having issues. Here are things I’ve tried:

$("#widget-members").getTableStateVars();
getTableStateVars($("#widget-members"));
$.getTableStateVars($("#widget-members"));
ufTable().getTableStateVars($("#widget-members"));
$("#widget-members").ufTable().getTableStateVars();

What’s the correct way to call this method?