copyWith method

BusinessLocation copyWith({
  1. Location? location,
  2. String? address,
})

Implementation

BusinessLocation copyWith({Location? location, String? address}) =>
    BusinessLocation(
      location: location ?? this.location,
      address: address ?? this.address,
    );