headerBuilder property
Builds the headers sent with every request (e.g. an auth token). Called fresh before each call, so it always reflects the latest token/session state.
Implementation
static Map<String, dynamic> Function()? headerBuilder;
Builds the headers sent with every request (e.g. an auth token). Called fresh before each call, so it always reflects the latest token/session state.
static Map<String, dynamic> Function()? headerBuilder;