Covid19Summary class
Summary class.
You can retrieve several informations from this class Here's an example of a JSON API responce:
{
"Message": "",
"Global": {
"NewConfirmed": 606451,
"TotalConfirmed": 52725633,
"NewDeaths": 9020,
"TotalDeaths": 1293096,
"NewRecovered": 342034,
"TotalRecovered": 34261480
},
"Countries": [
{
"Country": "Afghanistan",
"CountryCode": "AF",
"Slug": "afghanistan",
"NewConfirmed": 186,
"TotalConfirmed": 42795,
"NewDeaths": 10,
"TotalDeaths": 1591,
"NewRecovered": 57,
"TotalRecovered": 35024,
"Date": "2020-11-13T07:55:56Z",
"Premium": {}
},
...
]
}
Constructors
- Covid19Summary(Map _map)
Properties
-
countries
→ List<
Covid19Country> -
read-only
- date → DateTime
-
read-only
- global → Covid19GlobalData
-
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- message → String
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
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