showSecurityStatus method

Future<void> showSecurityStatus({
  1. List<String>? detectedThreats,
})

Presents the device-security report screen listing every screened check as Safe or Detected. Pass detectedThreats (e.g. from securityThreats) to avoid re-scanning, or leave null to have the screen run the scan itself.

Implementation

Future<void> showSecurityStatus({List<String>? detectedThreats}) =>
    _bridge.invoke(
      'Utils.showSecurityStatus',
      params: {'detectedThreats': detectedThreats},
    );