trak 1.0.0 copy "trak: ^1.0.0" to clipboard
trak: ^1.0.0 copied to clipboard

A simple framework to use when tracking things.

trak #

A simple framework to use when tracking things.

Trak provides an Entry class with the following fields:

  • timestamp: A DateTime of the entry date and time.
  • rating: A double in the range of [0, 1].
  • associates: A list of strings containing the things being associated with this entry.
  • misc: A string to include any extra information.

The Entry class is JSON serializable.

Other serialization methods are also included:

  • List<Entry>::toJson(): Serialize a list of entries to a JSON string.
  • entryListFromJson(String json): Deserialize a list of entries from a JSON string.

Getting started #

Add trak to your project: dart pub add trak.

Usage #

See the example.

0
likes
150
points
3
downloads

Publisher

unverified uploader

Weekly Downloads

A simple framework to use when tracking things.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

collection, meta

More

Packages that depend on trak