isPrivilegedPasswordRequired property

  1. @override
bool isPrivilegedPasswordRequired
override

Returns true if running a privileged action would cause a password to be requested.

Linux/MacOS: will return true if the sudo password is not currently cached and we are not already running as a privileged user.

Windows: This will always return false as Windows is never able to escalate privileges.

Implementation

@override
bool get isPrivilegedPasswordRequired => throw UnimplementedError();