Option class for Dart