Covid19GlobalData class

You can retrieve global data from this class.

Here's an example of a JSON API responce:

{
  "NewConfirmed": 606451,
  "TotalConfirmed": 52725633,
  "NewDeaths": 9020,
  "TotalDeaths": 1293096,
  "NewRecovered": 342034,
  "TotalRecovered": 34261480
}

Constructors

Covid19GlobalData(Map<String, dynamic> _map)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
newConfirmed int
read-only
newDeaths int
read-only
newRecovered int
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalConfirmed int
read-only
totalDeaths int
read-only
totalRecovered int
read-only

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