copyWith method

Input$CancelSponsorshipInput copyWith({
  1. String? clientMutationId()?,
  2. String? sponsorId()?,
  3. String? sponsorLogin()?,
  4. String? sponsorableId()?,
  5. String? sponsorableLogin()?,
})

Implementation

Input$CancelSponsorshipInput copyWith(
        {String? Function()? clientMutationId,
        String? Function()? sponsorId,
        String? Function()? sponsorLogin,
        String? Function()? sponsorableId,
        String? Function()? sponsorableLogin}) =>
    Input$CancelSponsorshipInput(
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        sponsorId: sponsorId == null ? this.sponsorId : sponsorId(),
        sponsorLogin:
            sponsorLogin == null ? this.sponsorLogin : sponsorLogin(),
        sponsorableId:
            sponsorableId == null ? this.sponsorableId : sponsorableId(),
        sponsorableLogin: sponsorableLogin == null
            ? this.sponsorableLogin
            : sponsorableLogin());