copyWith method

Input$UpdateRepositoryInput copyWith({
  1. String? clientMutationId()?,
  2. String? description()?,
  3. bool? hasIssuesEnabled()?,
  4. bool? hasProjectsEnabled()?,
  5. bool? hasWikiEnabled()?,
  6. String? homepageUrl()?,
  7. String? name()?,
  8. String? repositoryId,
  9. bool? template()?,
})

Implementation

Input$UpdateRepositoryInput copyWith(
        {String? Function()? clientMutationId,
        String? Function()? description,
        bool? Function()? hasIssuesEnabled,
        bool? Function()? hasProjectsEnabled,
        bool? Function()? hasWikiEnabled,
        String? Function()? homepageUrl,
        String? Function()? name,
        String? repositoryId,
        bool? Function()? template}) =>
    Input$UpdateRepositoryInput(
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        description: description == null ? this.description : description(),
        hasIssuesEnabled: hasIssuesEnabled == null
            ? this.hasIssuesEnabled
            : hasIssuesEnabled(),
        hasProjectsEnabled: hasProjectsEnabled == null
            ? this.hasProjectsEnabled
            : hasProjectsEnabled(),
        hasWikiEnabled:
            hasWikiEnabled == null ? this.hasWikiEnabled : hasWikiEnabled(),
        homepageUrl: homepageUrl == null ? this.homepageUrl : homepageUrl(),
        name: name == null ? this.name : name(),
        repositoryId: repositoryId == null ? this.repositoryId : repositoryId,
        template: template == null ? this.template : template());