clear method
void
clear()
Clear all of the Transactions and clear all other state, including any ongoing transaction without rolling back. However, this maintains its references to its Models.
You should not call this method during a transaction.
Implementation
void clear() {
_i4.callMethod(
this,
'clear',
[],
);
}