mul method
Multiplies the reactive integer by a value and updates it.
Example:
final counter = swift(10);
counter.mul(3); // counter.value is now 30
Implementation
void mul(int value) {
this.value *= value;
}
Multiplies the reactive integer by a value and updates it.
Example:
final counter = swift(10);
counter.mul(3); // counter.value is now 30
void mul(int value) {
this.value *= value;
}