SuccessData<T> class

StatefulData indicating success state for underlying object holds result or null

Inheritance

Constructors

SuccessData.new({required T result})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
result → T
Successfull result for this StatefulData
final
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
unwrap() → T
Returns success data or throws exception if value is not SuccessData
inherited

Operators

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