applyToParams method
Apply authentication settings to header and query params.
Implementation
@override
void applyToParams(
List<QueryParam> queryParams, Map<String, dynamic> headerParams) {
if (_accessToken != null) {
headerParams["Authorization"] = "Bearer $_accessToken";
}
}