auth method

PostgrestClient auth(
  1. String token
)

Authenticates the request with JWT.

Implementation

PostgrestClient auth(String token) {
  headers['Authorization'] = 'Bearer $token';
  return this;
}