Right<L, R> class final

Inheritance

Constructors

Right(R value)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isLeft bool
no setterinherited
isRight bool
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → R
final

Methods

fold<T>({required T onLeft(L left), required T onRight(R right)}) → T
override
left() → L?
override
map<L2, R2>({R2 mapRight(R right)?, L2 mapLeft(L left)?}) Either<L2, R2>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
override
toString() String
A string representation of this object.
inherited

Operators

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