copyWith method

Input$CreateDiscussionInput copyWith({
  1. String? body,
  2. String? categoryId,
  3. String? clientMutationId()?,
  4. String? repositoryId,
  5. String? title,
})

Implementation

Input$CreateDiscussionInput copyWith(
        {String? body,
        String? categoryId,
        String? Function()? clientMutationId,
        String? repositoryId,
        String? title}) =>
    Input$CreateDiscussionInput(
        body: body == null ? this.body : body,
        categoryId: categoryId == null ? this.categoryId : categoryId,
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        repositoryId: repositoryId == null ? this.repositoryId : repositoryId,
        title: title == null ? this.title : title);