BaseGitChain class abstract
A parent for all classes which are commands or options.
Provides some functionalities which are common in every command and option.
- Implementers
Constructors
- BaseGitChain(String chainName, [BaseGitChain? prevChain])
- Base constructor.
Properties
-
argList
→ List<
String> -
Generates command sequence and returns it as
List<String>to use in exec, toString and other functionalities in subclasses.no setter - chainName → String
-
The current chain name, which is used in generating command in argList.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- prevChain → BaseGitChain?
-
Refers to the previous chain of the current chain that use in argList to generate
command sequence.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
exec(
) → dynamic - Executes the generated command in the argList and returns the result.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited