Card class

Represents a payment card.

Inheritance

Constructors

Card({required bool isDefaultPaymentMethod, required String paymentToken, required String cardScheme, required String name, required String expiryDate, required String cardNumber, required String nickName, required String cardHolderName})
Card.fromMap(Map<String, dynamic> map)
Constructs a Card object from a map.
factory

Properties

cardHolderName String
final
cardNumber String
final
cardScheme String
final
expiryDate String
final
hashCode int
The hash code for this object.
no setterinherited
isDefaultPaymentMethod bool
final
name String
final
nickName String
final
paymentToken String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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