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

A function library that provides a more advanced switch, does not restrict Case expressions to be constants, similar to kotlin's when method

[0.0.2] - Release date: 2021-07-05. #

  • Second version: Add whenBool & whenBoolSafe Method; The library path is changed from index to switch_when.

[0.0.1] - Release date: 2021-07-02. #

  • First version: initial release.
4
likes
140
pub points
60%
popularity

Publisher

unverified uploader

A function library that provides a more advanced switch, does not restrict Case expressions to be constants, similar to kotlin's when method

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, flutter, tuple

More

Packages that depend on switch_when