copyWith method

Input$CreateProjectInput copyWith({
  1. String? body()?,
  2. String? clientMutationId()?,
  3. String? name,
  4. String? ownerId,
  5. List<String>? repositoryIds()?,
  6. Enum$ProjectTemplate? template()?,
})

Implementation

Input$CreateProjectInput copyWith(
        {String? Function()? body,
        String? Function()? clientMutationId,
        String? name,
        String? ownerId,
        List<String>? Function()? repositoryIds,
        Enum$ProjectTemplate? Function()? template}) =>
    Input$CreateProjectInput(
        body: body == null ? this.body : body(),
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        name: name == null ? this.name : name,
        ownerId: ownerId == null ? this.ownerId : ownerId,
        repositoryIds:
            repositoryIds == null ? this.repositoryIds : repositoryIds(),
        template: template == null ? this.template : template());