isSudo property

  1. @override
bool isSudo
override

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

Implementation

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