headers property

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

The authentication headers added to a request.

Implementation

@override
Map<String, String> get headers => {
      'Authorization': 'Basic ${base64.encode(utf8.encode('$username:$password'))}',
    };