NNBD integration_test (#74922)

This commit is contained in:
Dan Field
2021-01-29 14:31:06 -08:00
committed by GitHub
parent 18b1e23e89
commit cca9592f0e
17 changed files with 79 additions and 82 deletions

View File

@@ -504,7 +504,7 @@ abstract class FlutterDriver {
/// It's expected that the application has registered a [DataHandler]
/// callback in [enableFlutterDriverExtension] that can successfully handle
/// these requests.
Future<String> requestData(String message, { Duration? timeout }) async {
Future<String> requestData(String? message, { Duration? timeout }) async {
return RequestDataResult.fromJson(await sendCommand(RequestData(message, timeout: timeout))).message;
}