AmexBrand class Extensibility
Matches American Express cards.
Rules: starts with 34 or 37, length 15.
See also:
- CardBrandPattern, the contract this implements.
- Inheritance
-
- Object
- CardBrandPattern
- AmexBrand
Properties
Methods
-
matches(
String digits) → bool -
Returns
trueifdigitsmatches this brand's prefix and length rules.override -
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.
inherited