cancelPrompt method

Future<void> cancelPrompt(
  1. RequestId id
)

Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.

Implementation

Future<void> cancelPrompt(RequestId id) async {
  await _client.send('DeviceAccess.cancelPrompt', {
    'id': id,
  });
}