setRegion method
Switch the Norbix region for subsequent requests. Pass null to clear
it (no header, default host). When the base URL is the SDK default the
regional host (https://{region}.api.norbix.ai) is used; a custom base
URL is never rewritten. Per-call region arguments still override this
for individual requests (header only).
Implementation
void setRegion(String? region) =>
_transport.config = _transport.config.copyWith(region: region ?? '');