RKICovidAPI class

An API for accessing COVID Information for germany from the Robert-Koch-Institut.

To access COVID information you can use:

  • RKICovidAPI.getCases() for nation wide infos.
  • RKICovidAPI.getStates() for information about every state.
  • RKICovidAPI.getDisctricts() for information about every disctrict.

You can also use statesMapImageURL and disctrictsMapImageURL to get a url for a map of the states and disctricts.

Constructors

RKICovidAPI()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getCases() Future<CovidCases>
Get the current COVID cases of germany.
getDisctricts() Future<Districts>
Get COVID information for every district in germany.
getStates() Future<CovidStates>
Get COVID information for every state in germany.

Constants

disctrictsMapImageURL → const String
The url of PNG image of the disctricts in germany
statesMapImageURL → const String
The url of PNG image of the states of germany