copyWithWrapped method

PeripheralValueUpdateV2Body copyWithWrapped({
  1. Wrapped<int?>? definitionId,
  2. Wrapped<bool?>? $value,
})

Implementation

PeripheralValueUpdateV2Body copyWithWrapped(
    {Wrapped<int?>? definitionId, Wrapped<bool?>? $value}) {
  return PeripheralValueUpdateV2Body(
      definitionId:
          (definitionId != null ? definitionId.value : this.definitionId),
      $value: ($value != null ? $value.value : this.$value));
}