Pattern class
Represents different patterns a credit card number pattern can have. Mostly encapsulates the possible prefixes that the card number has for a particular brand.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
prefixes
→ List<
String> -
A lower and upper bound on a range of values the card number starts with.
i.e.
['51', '55']
represents the range of cards starting with '51' to those starting with '55'final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPrefix(
String prefix) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override