Global class
A class that provides global variables and methods.
Constructors
- Global()
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- hasFlatpak ↔ bool
-
Gets or sets a value indicating whether the current environment is a Flatpak environment.
getter/setter pair
- hasSnap ↔ bool
-
Gets or sets a value indicating whether the current environment is a Snap environment.
getter/setter pair
- sudoPath ↔ String
-
Gets or sets the path to the sudo command.
getter/setter pair
- updateCommand ↔ String
-
Gets or sets the update command for current method.
getter/setter pair