copyWith abstract method
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,
});