Right<A, B> class

Right is a subclass of Either indicating that the value is of type B. It encapsulates or "wraps" that value.

Inheritance

Constructors

Constructs a Right instance that holds the provided value.

Properties

hashCode int
The hash code for this object.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value → B
The value that this Right instance holds.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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