copyWith method

VerifyDataModel copyWith({
  1. num? retries,
  2. bool? acknowledged,
  3. bool? dispatched,
  4. String? type,
  5. String? id,
  6. String? chargeId,
  7. String? reference,
  8. DataModel? data,
  9. String? cryptoChargeId,
  10. DateTime? createdAt,
  11. num? v,
})

Implementation

VerifyDataModel copyWith({
  num? retries,
  bool? acknowledged,
  bool? dispatched,
  String? type,
  String? id,
  String? chargeId,
  String? reference,
  DataModel? data,
  String? cryptoChargeId,
  DateTime? createdAt,
  num? v,
}) {
  return VerifyDataModel(
    retries: retries ?? this.retries,
    acknowledged: acknowledged ?? this.acknowledged,
    dispatched: dispatched ?? this.dispatched,
    type: type ?? this.type,
    id: id ?? this.id,
    chargeId: chargeId ?? this.chargeId,
    reference: reference ?? this.reference,
    data: data ?? this.data,
    cryptoChargeId: cryptoChargeId ?? this.cryptoChargeId,
    createdAt: createdAt ?? this.createdAt,
    v: v ?? this.v,
  );
}