OsService class
Holds the information about the current user.
Constructors
- OsService(BaseLogger logger)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
install(
String appName, {String? configurationFile, String? configurationContent, String targetExecutable = '/usr/local/bin'}) → void -
installService(
String serviceName, {required String starter, String? user, String? group, String? description, String? workingDirectory, bool startAtOnce = true}) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uninstallService(
String serviceName, {String? user, String? group}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited