defaultHeaders property

Map<String, dynamic> get defaultHeaders

Default headers that will be added to all requests

Implementation

Map<String, dynamic> get defaultHeaders => {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
};