toggle method
void
toggle()
lets you toggle the internal value of ObservableBool
Implementation
void toggle() {
runInAction(() => value = !value);
}
lets you toggle the internal value of ObservableBool
void toggle() {
runInAction(() => value = !value);
}