CreditCard class
Constructors
- CreditCard({required String number, String? last4, String? bin, String? cardHolderName, String? expiresOn, String? scheme, required int expiryMonth, required int expiryYear, required String cvv})
- CreditCard.fromJson(String source)
-
factory
-
CreditCard.fromMap(Map<
String, dynamic> map) -
factory
Properties
- bin → String?
-
final
- cardHolderName → String?
-
final
- cvv → String
-
final
- expiresOn → String?
-
final
- expiryMonth → int
-
final
- expiryYear → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- last4 → String?
-
final
- number → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
toTokenMap(
) → Map< String, dynamic>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited