passive_data 0.7.1+1

  • README.md
  • Installing
  • Versions
  • 0

Passive data

Pub Package

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.

Specification

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)
  • null (empty fields)
  • num (integer or floating point)
  • bool
  • String
  • List
  • Map<String

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  passive_data: ^0.7.1+1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:passive_data/passive_data.dart';
  
Version Uploaded Documentation Archive
0.7.1+1 Oct 17, 2016 Go to the documentation of passive_data 0.7.1+1 Download passive_data 0.7.1+1 archive
0.7.1 Apr 9, 2016 Go to the documentation of passive_data 0.7.1 Download passive_data 0.7.1 archive
0.7.0 Apr 9, 2016 Go to the documentation of passive_data 0.7.0 Download passive_data 0.7.0 archive
0.6.0 Apr 9, 2016 Go to the documentation of passive_data 0.6.0 Download passive_data 0.6.0 archive
0.5.1 Apr 7, 2016 Go to the documentation of passive_data 0.5.1 Download passive_data 0.5.1 archive
0.5.0 Apr 7, 2016 Go to the documentation of passive_data 0.5.0 Download passive_data 0.5.0 archive
0.4.0 Apr 5, 2016 Go to the documentation of passive_data 0.4.0 Download passive_data 0.4.0 archive
0.3.0+2 Apr 5, 2016 Go to the documentation of passive_data 0.3.0+2 Download passive_data 0.3.0+2 archive
0.3.0+1 Mar 31, 2016 Go to the documentation of passive_data 0.3.0+1 Download passive_data 0.3.0+1 archive
0.3.0 Mar 31, 2016 Go to the documentation of passive_data 0.3.0 Download passive_data 0.3.0 archive

All 14 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
0
Learn more about scoring.

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.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0