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