isRoot property

bool get isRoot

Whether the remote session is the superuser.

Implementation

bool get isRoot => privilege == 'root';