damn_nullable 0.0.1 copy "damn_nullable: ^0.0.1" to clipboard
damn_nullable: ^0.0.1 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.1 #

  • Initial release of damn_nullable.
  • Added DamnNullable
  • Added .or() extension for fallback handling.
1
likes
140
points
72
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

unknown (license)

More

Packages that depend on damn_nullable