toggle method

Future<void> toggle()

Implementation

Future<void> toggle() => setEnabled(!enabled.value);