Result<T> class

Constructors

Result()

Properties

data ↔ T?
getter/setter pair
errors List<ResultError>
getter/setter pair
hasErrors bool
Indicates if there are errors. This isn't exactly the same as !isSuccess since it doesn't look at the state of the data.
no setter
hashCode int
The hash code for this object.
no setterinherited
isSuccess bool
Indicates if the request was successfull or not
no setter
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