copyWith method

BusinessAreas copyWith({
  1. LatLng? centerPoint,
  2. String? name,
})

Implementation

BusinessAreas copyWith({
  LatLng? centerPoint,
  String? name,
}) {
  return BusinessAreas(
    centerPoint: centerPoint ?? this.centerPoint,
    name: name ?? this.name,
  );
}