sugar 2.1.1 sugar: ^2.1.1 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.1.0
Core
- Monads (i.e.
Result<T, E>
,Union<L, R>
) - Utilities to simplify implementation of
==
and other comparisons - Utilities for maths, numerics and strings
Collection
- More
Iterable
functions - Utilities for comparing the contents of
Collection
s - Tuples (
Pair
,Triple
andQuad
)
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