wedzera 0.0.1+2 wedzera: ^0.0.1+2 copied to clipboard
Wedzera is an extension toolkit for Dart, It contains many convenient, functional, and easy-to-use functions.
Wedzera #
Wedzera is an extension toolkit for Dart, It contains many convenient, functional, and easy-to-use functions.
Libraries #
wedzera.collection #
MutableList
creates a new mutable list with the specified size, where each element is calculated by calling the specified init function.
mapOf
Returns a new Map
with the specified contents, given as a list of pairs where the first component is the key and the second is the value.
Iterables
is an extension library for Iterable
.
Maps
is an extension library for Map
.
wedzera.core #
Pair
represents a generic pair of two values.
pairToList
converts this pair into a fixed-length list.
toMapEntry
converts Pair
to MapEntry
.
Triple
represents a triad of values.
tripleToList
converts this triple into a fixed-length list.
Result
a discriminated union that encapsulates a successful outcome with a value of type T or a failure with an arbitrary Exception
exception.
repeat
executes the given function action specified number of times.
wedzera.time #
measureTimeMillis
executes the given block and returns elapsed time in milliseconds.