copyWith method

Address copyWith({
  1. AddressData? data,
  2. bool? primary,
})

Implementation

Address copyWith({AddressData? data, bool? primary}) {
  return Address(data: data ?? this.data, primary: primary ?? this.primary);
}