sugar 2.2.0
sugar: ^2.2.0 copied to clipboard
Forus Labs' Core Dart library. Provides sweet syntax sugar for common patterns related to the collections, core sand time.
Sugar - Syntax Sugar for Dart #
Sugar is Forus Labs' common library for Dart. It contains frequently used utilities.
Please view the stable brunch for a production version.
dependencies:
sugar: ^2.2.0
Core
- Monads (i.e.
Result<T, E>,Union<L, R>) - Utilities to manage debouncing
- Utilities to simplify implementation of
==and other comparisons - Utilities for maths, numerics and strings
Collection
- More
Iterablefunctions - Utilities for comparing the contents of
Collections - Tuples (
Pair,TripleandQuad)
Time
- Distinct local and UTC date-time types
- Distinct date and time types
- Utilities for conversion between time units and rounding date-times
- Serialization and deserialization of weekdays