none_or 1.0.1 copy "none_or: ^1.0.1" to clipboard
none_or: ^1.0.1 copied to clipboard

Provides a new object None<T>() and a typedef for NoneOr<T>() to differentiate between implicit and explicit null values using dart's only valid Union Type.

1.0.0 #

  • Initial version.
  • Hopefully at some point this package will become entirely unnecessary as dart gets with the program and adds even a limited union type to facilitate what this is doing as a hacky workaround in a native fashion that is not subject to the wacky behavior of passing a future into the None.fallback function.

1.0.1 #

  • Resubmit to pub.dev to resolve missed pub points due to issue with repository
2
likes
150
points
18
downloads

Documentation

API reference

Publisher

verified publishertre.contact

Weekly Downloads

Provides a new object None<T>() and a typedef for NoneOr<T>() to differentiate between implicit and explicit null values using dart's only valid Union Type.

Repository

License

BSD-3-Clause (license)

More

Packages that depend on none_or