toggle method

void toggle()

Inverte il valore corrente della visibilità.

Implementation

void toggle() => value = !value;