cachePolicy property

URLRequestCachePolicy cachePolicy

Controls how to deal with caching for the request.

See NSURLSession.cachePolicy

Implementation

URLRequestCachePolicy get cachePolicy =>
    URLRequestCachePolicy.values[_nsObject.cachePolicy];