cache property
RequestCache?
get
cache
A string indicating how the request will interact with the browser's cache to set request's cache.
Implementation
_i3.RequestCache? get cache => switch (_i4.getProperty(
this,
'cache',
)) {
_i2.String name => _i3.RequestCacheOptions.values.byName(name),
_ => null
};
set
cache
(RequestCache? value)
Implementation
set cache(_i3.RequestCache? value) {
_i4.setProperty(
this,
'cache',
value?.name ?? _i6.undefined ?? _i6.undefined,
);
}