IndianState constructor

IndianState({
  1. required String name,
  2. required String code,
  3. required String capital,
  4. required String population,
  5. required String image,
  6. required List<City> cities,
  7. required String area,
})

Constructs an IndianState object.

All fields are required and must be provided during object creation.

Implementation

IndianState({
  required this.name,
  required this.code,
  required this.capital,
  required this.population,
  required this.image,
  required this.cities,
  required this.area,
});