copyWith method

PaymentListAllResponse copyWith({
  1. bool? hasMore,
  2. List<PaymentDataResponse?>? data,
})

Implementation

PaymentListAllResponse copyWith({
  bool? hasMore,
  List<PaymentDataResponse?>? data,
}) {
  return PaymentListAllResponse(
    hasMore: hasMore ?? this.hasMore,
    data: data ?? this.data,
  );
}