copyWith method
VerifyDataModel
copyWith(
{ - num? retries,
- bool? acknowledged,
- bool? dispatched,
- String? type,
- String? id,
- String? chargeId,
- String? reference,
- DataModel? data,
- String? cryptoChargeId,
- DateTime? createdAt,
- 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,
);
}