toHeaders method

Map<String, String> toHeaders()

Implementation

Map<String, String> toHeaders() {
  return {
    'UNLEASH-APPNAME': appName,
    'UNLEASH-INSTANCEID': instanceId,
    'Authorization': apiToken,
    ...customHeaders
  };
}