AskarCallbackResult<T> class
base
Represents a result from an Askar callback with a value.
This class extends AskarCallbackBlankResult and includes the value returned by the callback.
- Inheritance
-
- Object
- AskarCallbackBlankResult
- AskarCallbackResult
Constructors
- AskarCallbackResult(ErrorCode errorCode, bool finished, T value)
- Constructs an instance of AskarCallbackResult.
Properties
- errorCode → ErrorCode
-
The error code returned by the callback.
finalinherited
- finished → bool
-
Indicates whether the callback has finished.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
The value returned by the callback.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
throwOnError(
) → void -
Throws an exception if the error code indicates an error.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited