Covid19Country constructor

Covid19Country(
  1. {String country,
  2. String countryCode,
  3. String slug,
  4. int newConfirmed,
  5. int totalConfirmed,
  6. int newDeaths,
  7. int totalDeaths,
  8. int newRecovered,
  9. int totalRecovered,
  10. String date,
  11. Map<String, dynamic> premium}
)

Implementation

Covid19Country(
    {this.country,
    this.countryCode,
    this.slug,
    this.newConfirmed,
    this.totalConfirmed,
    this.newDeaths,
    this.totalDeaths,
    this.newRecovered,
    this.totalRecovered,
    this.date,
    this.premium});