Right<L, R> class final

Inheritance

Constructors

const

Properties

asEffect Effect<Never, L, 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 value)) Either<L, C>
override
ap<V>(Either<L, V Function(R r)> f) Either<L, V>
inherited
filterOrLeft<C>({required bool predicate(R r), required L orLeftWith(R r)}) Either<L, R>
override
flatMap<C>(Either<L, C> f(R r)) Either<L, C>
override
flip() Either<R, L>
override
getLeft() Option<L>
override
getOrElse(R orElse(L l)) → R
override
getOrNull() → R
override
getRight() Option<R>
override
map<V>(V f(R r)) Either<L, V>
inherited
mapBoth<C, D>({required D onLeft(L l), required C onRight(R r)}) Either<D, C>
override
mapLeft<C>(C f(L l)) Either<C, R>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orElse<C>(Either<C, R> orElse(L l)) Either<C, R>
override
provide<V>() Effect<V, L, R>
override
tap<C>(Either<L, C> f(R r)) Either<L, R>
override
toString() String
A string representation of this object.
override

Operators

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