copyWith method

PaymentResult copyWith({
  1. bool? success,
  2. String? verificationUrl,
  3. dynamic extra,
  4. int? clientId,
})

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,
    );