toggle method

Implementation

DebugOverlayModel toggle() =>
    copyWith(enabled: !enabled, panelX: null, panelY: null, dragging: false);