FlutterDriverExtension class

The class that manages communication between a Flutter Driver test and the application being remote-controlled, on the application side.

This is not normally used directly. It is instantiated automatically when calling enableFlutterDriverExtension.

Annotations
  • @visibleForTesting

Constructors

FlutterDriverExtension(DataHandler _requestDataHandler, bool _silenceErrors)
Creates an object to manage a Flutter Driver connection.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

call(Map<String, String> params) Future<Map<String, dynamic>>
Processes a driver command configured by params and returns a result as an arbitrary JSON object. [...]
@visibleForTesting
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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