copyWith method

Input$CommittableBranch copyWith({
  1. String? branchName()?,
  2. String? id()?,
  3. String? repositoryNameWithOwner()?,
})

Implementation

Input$CommittableBranch copyWith(
        {String? Function()? branchName,
        String? Function()? id,
        String? Function()? repositoryNameWithOwner}) =>
    Input$CommittableBranch(
        branchName: branchName == null ? this.branchName : branchName(),
        id: id == null ? this.id : id(),
        repositoryNameWithOwner: repositoryNameWithOwner == null
            ? this.repositoryNameWithOwner
            : repositoryNameWithOwner());