toggleProgress method

void toggleProgress()

Implementation

void toggleProgress() => state = !state;