AuthManipulator.header constructor

const AuthManipulator.header(
  1. String key,
  2. String value(
    1. AuthToken token
    )
)

header implementation

add one header by using access token

Implementation

const factory AuthManipulator.header(
  String key,
  String Function(AuthToken token) value,
) = AuthManipulatorHeaderImpl;