copyWith method

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

Implementation

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