CallbackManager class abstract

Template methods each class that responses the driver side inputs must implement.

Depending on the platform the communication between integration_tests and the driver_tests can be different.

Constructors

CallbackManager()

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

callback(Map<String, String> params, IntegrationTestResults testRunner) Future<Map<String, dynamic>>
The callback function to response the driver side input.
cleanup() → void
Cleanup and completers or locks used during the communication.
convertFlutterSurfaceToImage() Future<void>
Android only. Converts the Flutter surface to an image view.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
takeScreenshot(String screenshot, [Map<String, Object?>? args]) Future<Map<String, dynamic>>
Takes a screenshot of the application. Returns the data that is sent back to the host.
toString() String
A string representation of this object.
inherited

Operators

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