Success<T> class final

A final class representing a successful result of an operation.

The Success class extends PassioResult<T> and contains the result value.

Inheritance

Constructors

Success(T value)
Constructor for creating a Success instance.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The value of the successful result.
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.
inherited