CardProvider constructor
CardProvider({})
Implementation
CardProvider(
{required this.id,
required this.cardLength,
required this.cvcLength,
this.innValidNums,
this.innValidRanges}) {
// Must provide one or the other
assert(innValidNums != null || innValidRanges != null);
// Do not provide empty list of valid nums
assert(innValidNums == null || innValidNums!.isNotEmpty);
}