setMasterSwitchState method

void setMasterSwitchState(
  1. bool _state
)

Implementation

void setMasterSwitchState(bool _state) {
  masterSwitchState = _state;
  if (!_state) {
    init();
  } else {
    /// TODO: Turn off location in all events
    // deleteAllLocationKey();
  }
}