SystemShell enum
A type definition for a shell.
The enumerated shells are the supported shells.
Values
- zsh → const SystemShell
- 
  The Zsh shell: https://www.zsh.org/ const SystemShell('zsh')
- bash → const SystemShell
- 
  GNU Bash shell: https://www.gnu.org/software/bash/ const SystemShell('bash')
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- index → int
- 
  A numeric identifier for the enumerated value.
  no setterinherited
- name → String
- 
  A descriptive string to identify the shell among others.
  final
- name → String
- 
      Available on Enum, provided by the EnumName extension The name of the enum value.no setter
- 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 Methods
- 
  current({Map< String, String> ? environmentOverride}) → SystemShell?
- Identifies the current shell based on the Platform.environment.
- 
  tryParse(String value) → SystemShell? 
- Tries to parse a SystemShell from a String.
Constants
- 
    values
  → const List<SystemShell> 
- A constant List of the values in this enum, in order of their declaration.