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': 'Bearer $token',
    };