copyWith method
Implementation
OnRampPaymentAvailability copyWith({
bool? isAllowed,
bool? isPurchaseAllowed,
List<OnRampPaymentMethod>? methods,
String? countryCode,
String? state,
}) =>
OnRampPaymentAvailability(
isAllowed: isAllowed ?? this.isAllowed,
isPurchaseAllowed: isPurchaseAllowed ?? this.isPurchaseAllowed,
methods: methods ?? this.methods,
countryCode: countryCode ?? this.countryCode,
state: state ?? this.state,
);