reverseStatus method

dynamic reverseStatus()

if the bar was closed this method will open it if the bar was opened this method will closed it

Implementation

reverseStatus() {
  currentStatus = !currentStatus;
  _barStatus.add(currentStatus);
}