IUIAutomationTogglePattern.from constructor
IUIAutomationTogglePattern.from(
- IUnknown interface
Creates a new instance of IUIAutomationTogglePattern from an existing
interface.
This factory constructor calls the queryInterface method to obtain a reference to the IUIAutomationTogglePattern interface.
Throws a WindowsException if the queryInterface call fails.
Implementation
@pragma('vm:prefer-inline')
factory IUIAutomationTogglePattern.from(IUnknown interface) =>
interface.queryInterface();