This package contains tools to deal with passive data structures in Dart. It is designed for usage within Omnibus, but it could be used for other projects as well.
Passive data structures are currently intended to be compatible with JSON. Encoding and decoding functions for other types (such as integer indexed maps and sets) are provided by this package. The following Dart types are allowed in passive data structures:
dynamic(allowed but not recommended)
num(integer or floating point)
Add this to your package's pubspec.yaml file:
dependencies: passive_data: ^0.7.1+1
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:
|0.7.1+1||Oct 17, 2016|
|0.7.1||Apr 9, 2016|
|0.7.0||Apr 9, 2016|
|0.6.0||Apr 9, 2016|
|0.5.1||Apr 7, 2016|
|0.5.0||Apr 7, 2016|
|0.4.0||Apr 5, 2016|
|0.3.0+2||Apr 5, 2016|
|0.3.0+1||Mar 31, 2016|
|0.3.0||Mar 31, 2016|
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]
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
Support Dart 2 in
The SDK constraint in
pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.
|Dart SDK||>=1.8.0 <2.0.0|