copyWith method
Input$CreateCommitOnBranchInput
copyWith({
- Input$CommittableBranch? branch,
- String? clientMutationId()?,
- String? expectedHeadOid,
- Input$FileChanges? fileChanges()?,
- Input$CommitMessage? message,
Implementation
Input$CreateCommitOnBranchInput copyWith(
{Input$CommittableBranch? branch,
String? Function()? clientMutationId,
String? expectedHeadOid,
Input$FileChanges? Function()? fileChanges,
Input$CommitMessage? message}) =>
Input$CreateCommitOnBranchInput(
branch: branch == null ? this.branch : branch,
clientMutationId: clientMutationId == null
? this.clientMutationId
: clientMutationId(),
expectedHeadOid:
expectedHeadOid == null ? this.expectedHeadOid : expectedHeadOid,
fileChanges: fileChanges == null ? this.fileChanges : fileChanges(),
message: message == null ? this.message : message);