LaunchContext class
A context that provides information about how an executable was launched.
It is provided to the EntryPoint function of an executable.
See also:
- LaunchConfig.entrypoint for defining the executable entry point.
Constructors
- LaunchContext({required Directory directory, ExecutableInstallation? globalInstallation, ExecutableInstallation? localInstallation})
- Creates a new launch context.
Properties
- directory → Directory
-
The directory in which the user invoked the executable.
final
- globalInstallation → ExecutableInstallation?
-
The global installation of the executable.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- localInstallation → ExecutableInstallation?
-
The local installation of the executable.
final
- 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