CheckoutToBranchCommand class

UndoableCommand to switch to a new or existing Branch from State

Inheritance

Constructors

CheckoutToBranchCommand.new(Repository repository, Branch branch, String? commitSha)

Properties

branch Branch
final
commitSha String?
final
hashCode int
The hash code for this object.
no setterinherited
repository Repository
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
undo() Future<void>
override

Operators

operator ==(Object other) bool
The equality operator.
inherited