Result<T> class Null safety

Constructors

Result()

Properties

data ↔ T?
read / write
errors List<ResultError>
read / write
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.
read-only
hashCode int
The hash code for this object.
read-onlyinherited
isSuccess bool
Indicates if the request was successfull or not
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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