Result<T> class sealed

A sealed class representing the result of an operation that can either succeed or fail.

The Result class is generic over type T which represents the type of the successful value. Use Success for successful operations and Failure for failed operations.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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