copyWith abstract method

  1. @useResult
PaymentMethodCard copyWith({
  1. String? brand,
  2. String? last4,
  3. int? expMonth,
  4. int? expYear,
  5. String? funding,
  6. String? country,
})

Returns a shallow copy of this PaymentMethodCard with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
PaymentMethodCard copyWith({
  String? brand,
  String? last4,
  int? expMonth,
  int? expYear,
  String? funding,
  String? country,
});