data library

Data objects and arrays representing generic data and with JSON integration.

DataObject can represent data like JSON Objects or properties as a map. DataArray can represent data like JSON Arrays or properties as a list.

It's possible to implement these interfaces to support also other data encodings than just JSON. However this package provides only JSON integration.

Usage: import package:attributes/data.dart

Classes

DataArray
An interface for a data array with property values accessed by int keys (or indexes).
DataElement<K>
An interface for a data element that is a collection with accessors for typed values.
DataObject
An interface for a data object with property values accessed by String keys.
Identifier
An interface for an identifier of something, represented as String, int or BigInt.