Result<Success> class

Implementers

Constructors

Result(Success? success, {Exception? error})
Result.fail(Exception? error)

Properties

error Exception?
getter/setter pair
failed bool
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success ↔ Success?
getter/setter pair

Methods

get() → Success
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

Static Methods

catchAll(Future<Result> catchFn()) Future<Result>