branches method

Future<List<BranchReference>> branches()

Implementation

Future<List<BranchReference>> branches() async {
  final refs = await showRef(heads: true);
  return refs.map((cr) => cr.toBranchReference()).toList();
}