class_unions 1.0.0 copy "class_unions: ^1.0.0" to clipboard
class_unions: ^1.0.0 copied to clipboard

Simple union types using classes. Types: the union of `int` and `String` is `Union2<int, String>`. Values: `42.u21` is `42` with type `Union2<int, Never>`.

1.0.0 #

  • Initial version, created as a variant of extension_type_unions 1.0.10.
0
likes
160
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

Simple union types using classes. Types: the union of `int` and `String` is `Union2<int, String>`. Values: `42.u21` is `42` with type `Union2<int, Never>`.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on class_unions