header property

String? header

If there is a authenticated User this will return the authentication header

Implementation

String? get header {
  final token = _token;
  if (token != null) {
    return '${token.tokenType} ${token.accessToken}';
  }
}