GitBranch constructor

const GitBranch({
  1. required String name,
  2. bool isRemote = false,
  3. bool isCurrent = false,
  4. String? upstream,
  5. int ahead = 0,
  6. int behind = 0,
})

Implementation

const GitBranch({
  required this.name,
  this.isRemote = false,
  this.isCurrent = false,
  this.upstream,
  this.ahead = 0,
  this.behind = 0,
});