union: ^0.0.3+1 copied to clipboard
Type safe union types for dart, by using extensions from Dart 2.6
Fix readme links
Unions are now implemented using functions instead of classes.
This allows assigning
Union2<A, B> to
Union3<A, B, Whatever>.
Allow const constructors on unions.
Optimized join/map/forEach from O(N) to O(1).
Improve pub score