CreditCardInfo class

Inheritance

Constructors

CreditCardInfo({@required String id, @required String cardHoldname, @required String creditNumber, @required String cvv, @required String expiryDate, @required CardType cardtype, CardBrand type, double width, double height, Color color, bool flipped, String name = ""})
CreditCardInfo.empty({String id = "0", String name = "", String cardHoldname = '', String creditNumber = '', String cvv = '', String expiryDate = '', double height, double width, CardType cardtype = CardType.credit, String email = '', double credit = 0.0, Color color = Colors.black, CardBrand type = CardBrand.MASTERCARD})
CreditCardInfo.prepay({@required String id, @required String cardHoldname, @required String expiryDate, @required CardType cardtype, @required double credit, double width, double height, Color color, String name})

Properties

cardHoldname String
read / write
cardtype CardType
read / write
code String
read / write
color Color
read / write
credit double
read / write
creditNumber String
read / write
cvv String
read / write
email String
read / write
expiryDate String
read / write
flipped bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasListeners bool
Whether any listeners are currently registered. [...]
@protected, read-only, inherited
height double
final
id String
read / write
name String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type CardBrand
read / write
width double
final

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes. [...]
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener and removeListener will throw after the object is disposed). [...]
@mustCallSuper, inherited
flipCardBack() → void
flipCardUp() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
notifyListeners() → void
Call all the registered listeners. [...]
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
updateInfo(CreditCardInfo card) → void

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited