copyWithWrapped method

FwUpdateSetupArgs copyWithWrapped({
  1. Wrapped<int?>? destination,
  2. Wrapped<int?>? totalSizeBytes,
})

Implementation

FwUpdateSetupArgs copyWithWrapped(
    {Wrapped<int?>? destination, Wrapped<int?>? totalSizeBytes}) {
  return FwUpdateSetupArgs(
      destination:
          (destination != null ? destination.value : this.destination),
      totalSizeBytes: (totalSizeBytes != null
          ? totalSizeBytes.value
          : this.totalSizeBytes));
}