toggle method

void toggle()

toggle the value of the ValueNotifier

Implementation

void toggle() => value = !value;