isPaid method
- PaidMarks? marks
Paid by its status, or because marks (from the timeline) mark its
order or the payment itself as paid.
Implementation
bool isPaid([PaidMarks? marks]) =>
statusPaid ||
(marks != null && (marks.paymentIds.contains(id) || (orderId != null && marks.orderIds.contains(orderId))));