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