An implementation of the Optional type for Dart