getHeaders method

Map<String, String> getHeaders()

Implementation

Map<String, String> getHeaders() {
  return {
    'Authorization': _getBasicAuthHeader(),
    'Content-Type': 'application/json',
  };
}