copyWithWrapped method

AddressNullable copyWithWrapped({
  1. Wrapped<AddressData>? data,
  2. Wrapped<bool?>? primary,
})

Implementation

AddressNullable copyWithWrapped(
    {Wrapped<AddressData>? data, Wrapped<bool?>? primary}) {
  return AddressNullable(
      data: (data != null ? data.value : this.data),
      primary: (primary != null ? primary.value : this.primary));
}