DeviceState constructor

DeviceState({
  1. Timestamp? updateTime,
  2. List<int>? binaryData,
})

Implementation

factory DeviceState({
  $2.Timestamp? updateTime,
  $core.List<$core.int>? binaryData,
}) {
  final $result = create();
  if (updateTime != null) {
    $result.updateTime = updateTime;
  }
  if (binaryData != null) {
    $result.binaryData = binaryData;
  }
  return $result;
}