The option typeclass inspired by scala's implementation and Haskell's Maybe monad. Option is a composable and more expressive alternative to things that may be null on absence of value.
Add this to your package's pubspec.yaml file:
dependencies: option: "^1.0.0"
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.2.0||Apr 23, 2016|
|1.1.0||Aug 19, 2014|
|1.0.2||Aug 17, 2014|
|1.0.0||Aug 16, 2014|
|0.3.3||May 4, 2013|
|0.3.2||Apr 18, 2013|
|0.3.1||Apr 13, 2013|
|0.3.0||Apr 1, 2013|
|0.2.3||Mar 17, 2013|
|0.2.2||Mar 17, 2013|
This package version is not analyzed, because it is more than two years old. Check the latest stable version for its analysis.