Country constructor

const Country({
  1. required int countryId,
  2. required String capital,
  3. required String name,
  4. required String countryCode,
  5. required int numberOfStates,
})

Implementation

const Country({
  required this.countryId,
  required this.capital,
  required this.name,
  required this.countryCode,
  required this.numberOfStates,
});