cache property

URLCache? cache

The URLCache used to cache the results of URLSessionTasks.

A value of nil indicates that no cache will be used.

See NSURLSessionConfiguration.URLCache

Implementation

URLCache? get cache =>
    _nsObject.URLCache == null ? null : URLCache._(_nsObject.URLCache!);
void cache=(URLCache? cache)

Implementation

set cache(URLCache? cache) => _nsObject.URLCache = cache?._nsObject;