denyDebuggerAttachment method

Future<SecurityResult<bool>> denyDebuggerAttachment()

Asks the OS to refuse debugger attachment for the rest of the process lifetime. Do not call this in debug builds: on iOS it detaches (and kills) a debug session.

Implementation

Future<SecurityResult<bool>> denyDebuggerAttachment() =>
    _useCase.denyDebuggerAttachment();