damn_nullable 0.0.2 copy "damn_nullable: ^0.0.2" to clipboard
damn_nullable: ^0.0.2 copied to clipboard

A tiny Dart utility that fixes the classic copyWith problem: distinguishing between "no update" and "update to null". Use DamnNullable<T> to explicitly set nullable fields inside copyWith. Works wit [...]

0.0.2 #

  • Updated LICENSE file
  • Improved README documentation

0.0.1 #

  • Initial release of damn_nullable.
  • Added DamnNullable
  • Added .or() extension for fallback handling.
1
likes
150
points
124
downloads

Publisher

unverified uploader

Weekly Downloads

A tiny Dart utility that fixes the classic copyWith problem: distinguishing between "no update" and "update to null". Use DamnNullable<T> to explicitly set nullable fields inside copyWith. Works with any Dart model.

Repository (GitHub)
View/report issues

Topics

#copywith #nullable #optional #data #model

Documentation

API reference

License

MIT (license)

More

Packages that depend on damn_nullable