EmptyOption class

Inheritance

Constructors

EmptyOption.none()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isSome bool
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asIterable() Iterable
inherited
bind<R>(Option<R> f(dynamic t)) Option<R>
inherited
flatMap<R>(Iterable<R> f(dynamic t)) Iterable<R>
inherited
fold<R>(R none(), R some(dynamic some)) → R
inherited
foreach(void f(dynamic t)) Option<void>
inherited
getOrElse(dynamic defaultVal) → dynamic
inherited
getOrElseBind(Option f()) Option
inherited
getOrElseDo(dynamic fallback()) → dynamic
inherited
getOrElseMap(dynamic f()) Option
inherited
map<R>(R f(dynamic t)) Option<R>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFuture() Future<Option>
inherited
toFutureOrElse(Future<Option> future) Future<Option>
inherited
toFutureOrElseDo(Future<Option> futureF()) Future<Option>
inherited
toString() String
A string representation of this object.
inherited
toValidation() Validation<Option>
inherited
where(bool f(dynamic t)) Option
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited