historySize method
Returns an object with {'undo': int, 'redo': int}
properties, both of
which hold integers, indicating the amount of stored undo and redo
operations.
Implementation
Map<String, int?> historySize() {
JsObject result = call('historySize');
return {
'undo': result['undo'],
'redo': result['redo'],
};
}