OpenMensaAPI constructor

OpenMensaAPI({
  1. Client? httpClient,
  2. bool unsafe = false,
})

Construct a new API instance.

Implementation

OpenMensaAPI({http.Client? httpClient, this.unsafe = false})
    : _client = httpClient ?? http.Client();