supportsLocalStorage method
Check if the web environment supports specific features
Implementation
bool supportsLocalStorage() {
try {
final storage = web.window.localStorage;
storage.setItem('conectar_test', 'test');
storage.removeItem('conectar_test');
return true;
} catch (e) {
return false;
}
}