A utility for converting
package:js objects to Maps and Lists
This was a workaround for dart-lang/sdk issue #27079 but now can be used to convert opaque JS lists and maps.
test/jsifier_test.dart for an example
Please file feature requests and bugs at the issue tracker.
Add this to your package's pubspec.yaml file:
dependencies: jsifier: "^1.1.0"
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.1.0||Aug 17, 2016|
|1.0.0||Aug 15, 2016|
We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: web, other
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
Fix analysis and formatting issues.
Analysis or formatting checks reported 1 hint.
Strong-mode analysis of
lib/src/jsifier_base.dartgave the following hint:
line: 14 col: 33
'JSON' is deprecated and shouldn't be used.