isPaid property

bool get isPaid

Whether the checkout is in the documented paid state.

Implementation

bool get isPaid => checkout.status.toLowerCase() == 'paid';