isValid method
Implementation
bool isValid() {
if (_deviceId != '' &&
_deviceType != '' &&
_deviceName != '' &&
_currentPasswordNumber != 0 &&
_hmac != '' &&
_controlActions != const [] &&
_measureActions != const []) {
return true;
}
return false;
}