DeviceConfig constructor

DeviceConfig({
  1. Int64? version,
  2. Timestamp? cloudUpdateTime,
  3. Timestamp? deviceAckTime,
  4. List<int>? binaryData,
})

Implementation

factory DeviceConfig({
  $fixnum.Int64? version,
  $2.Timestamp? cloudUpdateTime,
  $2.Timestamp? deviceAckTime,
  $core.List<$core.int>? binaryData,
}) {
  final $result = create();
  if (version != null) {
    $result.version = version;
  }
  if (cloudUpdateTime != null) {
    $result.cloudUpdateTime = cloudUpdateTime;
  }
  if (deviceAckTime != null) {
    $result.deviceAckTime = deviceAckTime;
  }
  if (binaryData != null) {
    $result.binaryData = binaryData;
  }
  return $result;
}