flipState method
- Object estrState
a shortcut to create a proposal to flip the present SamModel.samState to estrState
.
The value of estrState
must be a state in Enums.
If this SamModel.samState is already in estrState
the request is quietly ignored.
Implementation
void flipState(Object estrState) {
//String strState = "$estrState";
if (!this.isState(estrState)) this.present(this._samState,estrState); // avoids onto self
}