isValid method

bool isValid()
override

Implementation

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