BranchCheckout class

Check out a branch.

Inheritance
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

hashCode int
The hash code for this object.
no setteroverride
name String
Branch name to check out.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type discriminator. Always branch.
final

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