BranchCheckout class
Check out a branch.
- Inheritance
-
- Object
- RepositoryCheckout
- BranchCheckout
- Annotations
-
- @immutable
Constructors
- BranchCheckout({String type = 'branch', required String name})
-
Creates a BranchCheckout.
const
-
BranchCheckout.fromJson(Map<
String, dynamic> json) -
Creates a BranchCheckout from JSON.
factory
Properties
Methods
-
copyWith(
{String? type, String? name}) → BranchCheckout - Creates a copy with replaced values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts to JSON.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override