Type safe union types for dart, by using extensions from Dart 2.6
More...
Unions are now implemented using functions instead of classes.
This allows assigning Union2<A, B> to Union3<A, B, Whatever>.
Union2<A, B>
Union3<A, B, Whatever>
Allow const constructors on unions.
Optimized join/map/forEach from O(N) to O(1).
Improve pub score
Initial release
dash-overflow.net
Repository (GitHub)View/report issues
MIT (license)
Packages that depend on union
Back