WriteAnalogRequest constructor

WriteAnalogRequest({
  1. String? name,
  2. String? pin,
  3. int? value,
  4. Struct? extra,
})

Implementation

factory WriteAnalogRequest({
  $core.String? name,
  $core.String? pin,
  $core.int? value,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (pin != null) {
    $result.pin = pin;
  }
  if (value != null) {
    $result.value = value;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}