useBearerAuth method

ArangoDatabase useBearerAuth(
  1. String token
)

Implementation

ArangoDatabase useBearerAuth(String token) {
  _connection.setHeader('authorization', 'Bearer $token');
  return this;
}