cacheLocation property

BrowserCacheLocation? cacheLocation

Implementation

BrowserCacheLocation? get cacheLocation => _jsObject.cacheLocation == null
    ? null
    : _stringToCacheLocation(_jsObject.cacheLocation!);
void cacheLocation=(BrowserCacheLocation? value)

Sets which browser cache should be used.

Session storage is recommended, but local storage will allow authentication across multiple browser tabs.

Defaults to BrowserCacheLocation.sessionStorage.

Implementation

set cacheLocation(BrowserCacheLocation? value) => _jsObject.cacheLocation =
    value == null ? null : _cacheLocationToString(value);