divide method
Reassign the state value by dividing with an other number
Implementation
void divide(num other) {
setValue(this.getValue() ~/ other);
}
Reassign the state value by dividing with an other number
void divide(num other) {
setValue(this.getValue() ~/ other);
}