isValide property

bool get isValide

Checks if the credit card information is valid.

Returns true if all required fields are non-empty.

Implementation

bool get isValide =>
    number.isNotEmpty &&
    expirationMonth.isNotEmpty &&
    expirationYear.isNotEmpty;