DataHandler typedef

DataHandler = Future<String> Function(String? message)

Signature for the handler passed to enableFlutterDriverExtension.

Messages are described in string form and should return a Future which eventually completes to a string response.

Implementation

typedef DataHandler = Future<String> Function(String? message);