Success<T, E extends Error> class

Inheritance
Annotations

Constructors

Success.new(T value)

Properties

failure → E
no setterinherited
hashCode int
The hash code for this object.
no setteroverride
isFailure bool
no setterinherited
isSuccess bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success → T
no setterinherited
value → T
final

Methods

map<U>(U transform(T)) Result<U, E>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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