copyWith method

Districts copyWith({
  1. String? districtAdcode,
  2. String? districtName,
})

Implementation

Districts copyWith({
  String? districtAdcode,
  String? districtName,
}) {
  return Districts(
    districtAdcode: districtAdcode ?? this.districtAdcode,
    districtName: districtName ?? this.districtName,
  );
}