copyWith method

Input$UpdateSponsorshipPreferencesInput copyWith({
  1. String? clientMutationId()?,
  2. Enum$SponsorshipPrivacy? privacyLevel()?,
  3. bool? receiveEmails()?,
  4. String? sponsorId()?,
  5. String? sponsorLogin()?,
  6. String? sponsorableId()?,
  7. String? sponsorableLogin()?,
})

Implementation

Input$UpdateSponsorshipPreferencesInput copyWith(
        {String? Function()? clientMutationId,
        Enum$SponsorshipPrivacy? Function()? privacyLevel,
        bool? Function()? receiveEmails,
        String? Function()? sponsorId,
        String? Function()? sponsorLogin,
        String? Function()? sponsorableId,
        String? Function()? sponsorableLogin}) =>
    Input$UpdateSponsorshipPreferencesInput(
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        privacyLevel:
            privacyLevel == null ? this.privacyLevel : privacyLevel(),
        receiveEmails:
            receiveEmails == null ? this.receiveEmails : receiveEmails(),
        sponsorId: sponsorId == null ? this.sponsorId : sponsorId(),
        sponsorLogin:
            sponsorLogin == null ? this.sponsorLogin : sponsorLogin(),
        sponsorableId:
            sponsorableId == null ? this.sponsorableId : sponsorableId(),
        sponsorableLogin: sponsorableLogin == null
            ? this.sponsorableLogin
            : sponsorableLogin());