copyWith method

Input$CreateRepositoryInput copyWith({
  1. String? clientMutationId()?,
  2. String? description()?,
  3. bool? hasIssuesEnabled()?,
  4. bool? hasWikiEnabled()?,
  5. String? homepageUrl()?,
  6. String? name,
  7. String? ownerId()?,
  8. String? teamId()?,
  9. bool? template()?,
  10. 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);