apply method

CardPlaceholder apply(
  1. CardPlaceholder? placeholder
)

Apply a new placeholder object on an existing placeholder.

In case fields are null the original value will be used.

Implementation

CardPlaceholder apply(CardPlaceholder? placeholder) => copyWith(
      number: placeholder?.number ?? number,
      expiration: placeholder?.expiration ?? expiration,
      cvc: placeholder?.cvc ?? cvc,
      postalCode: placeholder?.postalCode ?? postalCode,
    );