setAuth method

void setAuth(
  1. String jwt
)

Implementation

void setAuth(String jwt) {
  headers['Authorization'] = 'Bearer $jwt';
}