TokenHeaderBuilder<T> typedef Null safety

TokenHeaderBuilder<T> = Map<String, String> Function(T token)

Function responsible for building the token header(s) give a token.

Implementation

typedef TokenHeaderBuilder<T> = Map<String, String> Function(
  T token,
);