nullx 0.1.16 copy "nullx: ^0.1.16" to clipboard
nullx: ^0.1.16 copied to clipboard

nullx is a collection of elegant extensions for handling null types in Dart.

Changelog #

0.1.16 #

  • Add function nullable extensions

0.1.15 #

  • Add nullable list extensions
  • Split collection extensions to iterable, map and list
  • Add unit tests
  • Refactor documentation

0.1.14 #

0.1.13 #

  • Add nullable object extensions

0.1.12 #

  • Remove deprecated methods
  • Add iterable/map extensions
  • Add int/double extensions

0.1.11 #

  • Add collection extensions: lastOrNull, reduceOrNull, singleOrNull
  • Deprecate conditionNotNullWith, use notNullWith instead

0.1.10 #

  • Add OrThrow extension function for nullable objects
  • Add OrElseGet extension function for nullable objects

0.1.9 #

  • isNotNullOrEmpty => hasValue
  • Add nullable future extensions

0.1.8 #

  • Extend NullableStringExtensions by adding new isNotNullOrEmpty method
  • Add dartz Either extensions

0.1.7 #

  • Add nullable map extensions
  • Add nullable future extensions

0.1.6 #

  • Add filterNotNullTo, filterNotNull, listOfNotNull, ifNull functions and extensions
  • Add unit tests
  • Fix code documentation

0.1.5 #

  • Fix code documentation.
  • Deprecate notEmpty, executeIf, 'unwrapped' methods.
  • Add new extension callWhen on nullable objects.
  • Make examples more readable.

0.1.4 #

  • Fix code documentation.
  • Add LetX extension functions.
  • Add AlsoX extension functions.

0.1.3 #

  • Add extension functions on nullable int, double, and bool.
  • Add getter orZero and method or on int, double, and bool.

0.1.2 #

  • Change the parameter names of conditionNotNullAs and conditionNotNullWith methods to improve readability.
  • Add more examples.

0.1.1 #

  • Add new util functions.
  • Add nullable string extensions.

0.1.0+1 #

  • Initial release.
10
likes
160
points
271
downloads

Publisher

verified publishershtanko.dev

Weekly Downloads

nullx is a collection of elegant extensions for handling null types in Dart.

Homepage
Repository (GitHub)
View/report issues

Topics

#null-safety #nullable #types #collections

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

async, dartz

More

Packages that depend on nullx