Header.bearerAuth constructor

Header.bearerAuth(
  1. String token
)

Implementation

Header.bearerAuth(
  String token,
) : this(
        name: 'Authorization',
        value: 'Bearer $token',
      );