CountryCases class

Several country informations.

Example JSON API responce of a List of Covid19Country:

[
  ...
  {
    "NewConfirmed": 33517,
    "TotalConfirmed": 1293715,
    "NewDeaths": 563,
    "TotalDeaths": 51020,
    "NewRecovered": 13,
    "TotalRecovered": 3031
  },
  {
    "NewConfirmed": 153496,
    "TotalConfirmed": 10552821,
    "NewDeaths": 919,
    "TotalDeaths": 242423,
    "NewRecovered": 54081,
    "TotalRecovered": 4051256
  },
  ...
]

Constructors

CountryCases({int newConfirmed, int totalConfirmed, int newDeaths, int totalDeaths, int newRecovered, int totalRecovered})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
newConfirmed int
final
newDeaths int
final
newRecovered int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalConfirmed int
final
totalDeaths int
final
totalRecovered int
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