invokeSync method

Map<String, Object?> invokeSync(
  1. String command, [
  2. Map<String, Object?> arguments = const {}
])

Implementation

Map<String, Object?> invokeSync(
  String command, [
  Map<String, Object?> arguments = const {},
]) {
  final response = invoker.invokeSync({
    'protocol': protocolVersion,
    'command': command,
    ...arguments,
  });
  return _unwrap(response);
}