copyWith method

GitInfos copyWith({
  1. String? repoCloneUrl,
  2. String? branch,
})

Implementation

GitInfos copyWith({
  String? repoCloneUrl,
  String? branch,
}) {
  return GitInfos(
    repoCloneUrl: repoCloneUrl ?? this.repoCloneUrl,
    branch: branch ?? this.branch,
  );
}