copyWith method

RouteSearchCityList copyWith({
  1. List<Districts>? districts,
})

Implementation

RouteSearchCityList copyWith({
  List<Districts>? districts,
}) {
  return RouteSearchCityList(
    districts: districts ?? this.districts,
  );
}