wedzera 0.0.2 copy "wedzera: ^0.0.2" to clipboard
wedzera: ^0.0.2 copied to clipboard

outdated

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 #

list creates a new unmodifiable List with the specified size, where each element is calculated by calling the specified init function.

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 unmodifiable Map with the specified contents, given as a list of pairs where the first component is the key and the second is the value.

mutableMapOf returns a new mutable 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 class for Iterable.

Maps is an extension class for Map.

wedzera.core #

Pair represents a generic pair of two values.

pairToList converts this pair into an unmodifiable list.

toMapEntry converts Pair to MapEntry.

Triple represents a triad of values.

tripleToList converts this triple into an unmodifiable 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.

ErrorAndStacktrace an Object which containing both an error and the corresponding stack trace.

wedzera.system #

measureTimeMillis executes the given block and returns elapsed time in milliseconds.

measureTimeMicros executes the given block and returns elapsed time in microseconds.

1
likes
0
pub points
0%
popularity

Publisher

verified publishernikeo.cn

Wedzera is an extension toolkit for Dart, It contains many convenient, functional, and easy-to-use functions.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

quiver

More

Packages that depend on wedzera