OpenMensaAPI constructor
OpenMensaAPI({
- Client? httpClient,
- bool unsafe = false,
Construct a new API instance.
Implementation
OpenMensaAPI({http.Client? httpClient, this.unsafe = false})
: _client = httpClient ?? http.Client();