loggedInUser property

  1. @override
String? loggedInUser
override

Returns the username of the logged in user.

Linux: If you are running sudo this will still return the actual username rather than root.

Implementation

@override
String? get loggedInUser =>
    'root';