CompletionConfiguration class
A configuration that stores information on how to handle command completions.
- Annotations
-
- @immutable
Constructors
- CompletionConfiguration.empty()
- Creates an empty CompletionConfiguration.
- CompletionConfiguration.fromFile(File file)
-
Creates a CompletionConfiguration from the given
file
content.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- installs → ShellCommandsMap
-
Stores those commands that have completion installed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uninstalls → ShellCommandsMap
-
Stores those commands that have been manually uninstalled by the user.
final
Methods
-
copyWith(
{ShellCommandsMap? uninstalls, ShellCommandsMap? installs}) → CompletionConfiguration - Returns a copy of this CompletionConfiguration with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writeTo(
File file) → void -
Stores the CompletionConfiguration in the given
file
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- installsJsonKey → const String
- The JSON key for the installs field.
- uninstallsJsonKey → const String
- The JSON key for the uninstalls field.