WindowsMixin mixin

Common code for Windows shells.

Properties

hashCode int
The hash code for this object.
no setterinherited
isSudo bool
On Windows this is always false.
no setter
loggedInUser String?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkInstallPreconditions() String?
Check if the shell has any notes re: pre-isntallation conditions.
inDeveloperMode() bool
Windows 10+ has a developer mode that needs to be enabled to create symlinks without escalated prividedges. For details on enabling dev mode on windows see: https://bsutton.gitbook.io/dcli/getting-started/installing-on-windows
install({bool installDart = true}) bool
Called to install the windows specific dart/dcli components.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
privilegesRequiredMessage(String app) String
releasePrivileges() → void
revert uid and gid to original user's id's
toString() String
A string representation of this object.
inherited
withPrivileges(RunPrivileged privilegedCallback) → void
Run privilegedCallback with root UID and gid

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

setPath(List<String?> paths) → void
Updatest the PATH environment variable.