Introspecting js proxy object of js map -> dart Map #12997
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-obsolete
Closed as the reported issue is no longer relevant
library-js
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by bendera...@google.com
Often when working with js apis like chrome.* in a chrome extension it is necessary to convert from a js Map/Object to a dart Map. Currently there isn't an easy way to do so which makes it hard to know what has been returned or to convert a js map into a typed dart object. I have managed to get a solution working using js.context.Objects.keys but it seems like this is functionality that should be provided by jsinterop to compliment js.map().
The text was updated successfully, but these errors were encountered: