Covid19GlobalDataTotal class
You can retrieve global data from this class.
Here's an example of a JSON API responce:
{
"TotalConfirmed": 52725633,
"TotalDeaths": 1293096,
"TotalRecovered": 34261480
}
Constructors
-
Covid19GlobalDataTotal(Map<
String, dynamic> _map)
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- 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