class MapState {
final CountryDetails? currentCountry;
final CountryDetails? compareWithCountry;
final CountryDetails? compareWithCountry2;
final City? currentCity;
MapState({this.currentCountry, this.compareWithCountry, this.compareWithCountry2});
MapState.initial() : currentCountry = null;
MapState copyWith(CountryDetails? currentCountry, CountryDetails? compareWithCountry, CountryDetails? compareWithCountry2) {
return MapState(currentCountry: currentCountry ?? this.currentCountry,
compareWithCountry: compareWithCountry ?? this.compareWithCountry,
compareWithCountry2: compareWithCountry2 ?? this.compareWithCountry2);
}
}