isRoot property
bool
get
isRoot
Whether the remote session is the superuser.
Implementation
bool get isRoot => privilege == 'root';
Whether the remote session is the superuser.
bool get isRoot => privilege == 'root';