copyWith method
Copy with method for creating modified configs
Implementation
MFGooglePayButtonConfig copyWith({
int? buttonType,
int? buttonTheme,
int? cornerRadius,
}) {
return MFGooglePayButtonConfig(
buttonType: buttonType ?? this.buttonType,
buttonTheme: buttonTheme ?? this.buttonTheme,
cornerRadius: cornerRadius ?? this.cornerRadius,
);
}