Covid19CountryBase class

Basic informations of a country.

Example JSON API responce of a List of Covid19CountryBase:

[
  ...
  {
    "Country": "Nicaragua",
    "Slug": "nicaragua",
    "ISO2": "NI"
  },
  {
    "Country": "Puerto Rico",
    "Slug": "puerto-rico",
    "ISO2": "PR"
  },
  {
    "Country": "China",
    "Slug": "china",
    "ISO2": "CN"
  },
  ...
]

Constructors

Covid19CountryBase({String country, String slug, String iso2})
const

Properties

country String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
iso2 String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
slug String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited