copyWith method

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

Implementation

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