SetGPIORequest constructor

SetGPIORequest({
  1. String? name,
  2. String? pin,
  3. bool? high,
  4. Struct? extra,
})

Implementation

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