copyWith method

ConformPaymentModel copyWith({
  1. bool? success,
  2. int? code,
  3. String? description,
  4. Data? data,
})

Implementation

ConformPaymentModel copyWith({
  bool? success,
  int? code,
  String? description,
  Data? data,
}) =>
    ConformPaymentModel(
      success: success ?? this.success,
      code: code ?? this.code,
      description: description ?? this.description,
      data: data ?? this.data,
    );