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