City constructor

City({
  1. required String name,
  2. required String countryCode,
  3. required String stateCode,
  4. String? latitude,
  5. String? longitude,
})

Implementation

City({
  required this.name,
  required this.countryCode,
  required this.stateCode,
  this.latitude,
  this.longitude,
});