toAuthorizationHeader method

Map<String, String> toAuthorizationHeader()

Value returned by this function shall be added to request headers

Implementation

Map<String, String> toAuthorizationHeader() => {"authorization": toString()};