copyWith method

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

Implementation

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