copyWith method
Implementation
PaymentResult copyWith({
bool? success,
String? verificationUrl,
dynamic extra,
int? clientId,
}) => PaymentResult(
success: success ?? this.success,
verificationUrl: verificationUrl ?? this.verificationUrl,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);