Some<R> class final

Inheritance

Constructors

Some(R value)
const

Properties

asEffect Effect<Never, Never, R>
no setteroverride
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → R
final

Methods

andThen<C>(C f(R r)) Option<C>
override
ap<V>(Option<V Function(R r)> f) Option<V>
inherited
filter(bool f(R r)) Option<R>
override
filterMap<C>(Option<C> f(R r)) Option<C>
override
flatMap<C>(Option<C> f(R r)) Option<C>
override
getOrNull() → R
override
map<V>(V f(R r)) Option<V>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
provide<L, V>(L onNone()) Effect<V, L, R>
override
tap<C>(Option<C> f(R r)) Option<R>
override
toEither<L>(L onLeft()) Either<L, R>
override
toJson(Object? toJson(R value)) Object?
override
toString() String
A string representation of this object.
override

Operators

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