copyWith method

BusinessArea copyWith({
  1. String? location,
  2. String? name,
  3. String? id,
})

Implementation

BusinessArea copyWith({
  String? location,
  String? name,
  String? id,
}) {
  return BusinessArea(
    location: location ?? this.location,
    name: name ?? this.name,
    id: id ?? this.id,
  );
}