copyWithWrapped method

Payee copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped<String>? name,
  3. Wrapped<String?>? transferAccountId,
  4. Wrapped<bool>? deleted,
})

Implementation

Payee copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<String>? name,
    Wrapped<String?>? transferAccountId,
    Wrapped<bool>? deleted}) {
  return Payee(
      id: (id != null ? id.value : this.id),
      name: (name != null ? name.value : this.name),
      transferAccountId: (transferAccountId != null
          ? transferAccountId.value
          : this.transferAccountId),
      deleted: (deleted != null ? deleted.value : this.deleted));
}