checkForCacheControl method

void checkForCacheControl(
  1. ApiResponse response
)

Implementation

void checkForCacheControl(ApiResponse response)  {
  if (response.headers.containsKey('cache-control')) {
    decodeCacheControl(response.headers['cache-control']!);
  }
}