MagentoResult<T> class abstract

Base abstract class for all Magento operation results

Implementers
Annotations

Properties

data → T?
The result data (null if operation failed)
final
error String?
Error message (null if operation succeeded)
final
hasData bool
Whether the operation succeeded and has data
no setter
hashCode int
The hash code for this object.
no setteroverride
isError bool
Whether the operation failed
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
Whether the operation was successful
final
timestamp DateTime
When the result was created
final

Methods

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

Operators

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