copyWith method
Input$CreateRepositoryInput
copyWith(
{ - String? clientMutationId()?,
- String? description()?,
- bool? hasIssuesEnabled()?,
- bool? hasWikiEnabled()?,
- String? homepageUrl()?,
- String? name,
- String? ownerId()?,
- String? teamId()?,
- bool? template()?,
- Enum$RepositoryVisibility? visibility,
})
Implementation
Input$CreateRepositoryInput copyWith(
{String? Function()? clientMutationId,
String? Function()? description,
bool? Function()? hasIssuesEnabled,
bool? Function()? hasWikiEnabled,
String? Function()? homepageUrl,
String? name,
String? Function()? ownerId,
String? Function()? teamId,
bool? Function()? template,
Enum$RepositoryVisibility? visibility}) =>
Input$CreateRepositoryInput(
clientMutationId: clientMutationId == null
? this.clientMutationId
: clientMutationId(),
description: description == null ? this.description : description(),
hasIssuesEnabled: hasIssuesEnabled == null
? this.hasIssuesEnabled
: hasIssuesEnabled(),
hasWikiEnabled:
hasWikiEnabled == null ? this.hasWikiEnabled : hasWikiEnabled(),
homepageUrl: homepageUrl == null ? this.homepageUrl : homepageUrl(),
name: name == null ? this.name : name,
ownerId: ownerId == null ? this.ownerId : ownerId(),
teamId: teamId == null ? this.teamId : teamId(),
template: template == null ? this.template : template(),
visibility: visibility == null ? this.visibility : visibility);