nullable 0.1.0 copy "nullable: ^0.1.0" to clipboard
nullable: ^0.1.0 copied to clipboard

outdated

Nullable setters in dart. Just forget about ifs with null for setting some value!

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add nullable

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  nullable: ^0.1.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:nullable/nullable.dart';
5
likes
30
pub points
10%
popularity

Publisher

unverified uploader

Nullable setters in dart. Just forget about ifs with null for setting some value!

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

More

Packages that depend on nullable