toggleEnabled method

void toggleEnabled ()

Toggle enable/disable state.

Implementation

void toggleEnabled() {
  _enabled = !_enabled;
}