ReadAnalogReaderResponse constructor

ReadAnalogReaderResponse({
  1. int? value,
  2. double? minRange,
  3. double? maxRange,
  4. double? stepSize,
})

Implementation

factory ReadAnalogReaderResponse({
  $core.int? value,
  $core.double? minRange,
  $core.double? maxRange,
  $core.double? stepSize,
}) {
  final $result = create();
  if (value != null) {
    $result.value = value;
  }
  if (minRange != null) {
    $result.minRange = minRange;
  }
  if (maxRange != null) {
    $result.maxRange = maxRange;
  }
  if (stepSize != null) {
    $result.stepSize = stepSize;
  }
  return $result;
}