Result<T> class abstract

Implementers
Available Extensions

Constructors

Result.dismissed(T result, [String? message])
factory
Result.success(T result, [String? message])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
message String?
no setter
resultType ResultType
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
no setter

Methods

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

Operators

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

Static Methods

error<T>(String message) Result<T?>
noop<T>() Result<T?>
timed<T>(FutureOr<T> exec, {String? debugName}) Future<TimedResult<T?>>