openOrClose method
dynamic
openOrClose()
Implementation
openOrClose() {
if (_percent > 0.3) {
open(_percent);
} else {
close(_percent);
}
}
openOrClose() {
if (_percent > 0.3) {
open(_percent);
} else {
close(_percent);
}
}