isLocalStorageSupported method
Implementation
bool isLocalStorageSupported() {
try {
bool empty = window.localStorage.isEmpty;
if (kDebugMode) {
empty;
}
return true;
} catch (_) {
return false;
}
}
bool isLocalStorageSupported() {
try {
bool empty = window.localStorage.isEmpty;
if (kDebugMode) {
empty;
}
return true;
} catch (_) {
return false;
}
}