addMapRequestOption method

void addMapRequestOption(
  1. RequestOptions options,
  2. RequestModel model
)

Adds a request model to the map for the given RequestOptions.

Implementation

void addMapRequestOption(RequestOptions options, RequestModel model) {
  if (!isLogEnabled) return;
  mapRequestOptions[options] = model;
}