isSudo property

bool isSudo

A derived class should overload this method and return true if the script is running under sudo.

Implementation

bool get isSudo => false;