onDeviceRequestPrompted property
Stream<DeviceRequestPromptedEvent>
get
onDeviceRequestPrompted
A device request opened a user prompt to select a device. Respond with the selectPrompt or cancelPrompt command.
Implementation
Stream<DeviceRequestPromptedEvent> get onDeviceRequestPrompted => _client
.onEvent
.where((event) => event.name == 'DeviceAccess.deviceRequestPrompted')
.map((event) => DeviceRequestPromptedEvent.fromJson(event.parameters));