MockResult class

Mock method call result callback.

Constructors

MockResult(void _successCallback<T>(T any), void _errorCallback(String errorCode, String errorMessage, String errorDetails))
Mock method call result callback.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

error(String errorCode, String errorMessage, String errorDetails) → void
Handles a wrong asynchronous result.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
success<T>(T result) → void
Handles a successful asynchronous result.
toString() String
A string representation of this object.
inherited

Operators

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