如何获取 Darts Storage 中的所有对象
正如 this SO 中提到的,这是获取存储在本地存储中的所有对象的方式:
for (var key in localStorage){
console.log(key)
}
如何我会在 Dart 中做同样的事情吗?
As mention in this SO, this is the way t get all objects stored in a localstorage:
for (var key in localStorage){
console.log(key)
}
How would I do the same in Dart?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以以几乎相同的方式从 Dart 的 本地存储 获取键和值
You can get the keys and values from Dart's local storage in almost the same way