headers property

  1. @override
Map<String, String> get headers
override

Headers to include in the HTTP request.

Implementation

@override
Map<String, String> get headers => {
  'Content-Type': 'application/json',
  'x-api-key': apiKey,
};