setHideOverlayWindows static method
Controls whether overlay windows should be hidden.
Passing true requests that all overlay windows be hidden while
the application is in the foreground. This can prevent overlay attacks
such as clickjacking.
Implementation
static Future<void> setHideOverlayWindows(
bool shouldHideOverlayWindows,
) async {
FraudProtectionPlatform.instance.setHideOverlayWindows(
shouldHideOverlayWindows,
);
}