copyWithWrapped method

BytesArgs copyWithWrapped({
  1. Wrapped<String?>? data,
  2. Wrapped<int?>? fletcher32,
  3. Wrapped<int?>? sequenceId,
})

Implementation

BytesArgs copyWithWrapped(
    {Wrapped<String?>? data,
    Wrapped<int?>? fletcher32,
    Wrapped<int?>? sequenceId}) {
  return BytesArgs(
      data: (data != null ? data.value : this.data),
      fletcher32: (fletcher32 != null ? fletcher32.value : this.fletcher32),
      sequenceId: (sequenceId != null ? sequenceId.value : this.sequenceId));
}