BranchInfo.fromJson constructor

BranchInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BranchInfo.fromJson(Map<String, dynamic> json) {
  return BranchInfo(
    branchName: json['branchName'] as String?,
    commitId: json['commitId'] as String?,
  );
}