copyWith method
Implementation
Input$CreateSponsorshipInput copyWith(
{int? Function()? amount,
String? Function()? clientMutationId,
bool? Function()? isRecurring,
Enum$SponsorshipPrivacy? Function()? privacyLevel,
bool? Function()? receiveEmails,
String? Function()? sponsorId,
String? Function()? sponsorLogin,
String? Function()? sponsorableId,
String? Function()? sponsorableLogin,
String? Function()? tierId}) =>
Input$CreateSponsorshipInput(
amount: amount == null ? this.amount : amount(),
clientMutationId: clientMutationId == null
? this.clientMutationId
: clientMutationId(),
isRecurring: isRecurring == null ? this.isRecurring : isRecurring(),
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(),
tierId: tierId == null ? this.tierId : tierId());