Card class
Constructors
- Card({String? expiration, String? client, String? token, Address? address, String? customer, String? cardholderName, String? currency, String? number, String? cvv, String? lastFour, String? providerReference, CardBrand brand = CardBrand.none, bool? active})
- Card.fromJson(String source)
-
factory
-
Card.fromMap(Map<
String, dynamic> map) -
factory
Properties
- active ↔ bool?
-
getter/setter pair
- address ↔ Address?
-
getter/setter pair
- brand ↔ CardBrand
-
getter/setter pair
- cardholderName ↔ String?
-
getter/setter pair
- client ↔ String?
-
getter/setter pair
- currency ↔ String?
-
getter/setter pair
- customer ↔ String?
-
getter/setter pair
- cvv ↔ String?
-
getter/setter pair
- expiration ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- lastFour ↔ String?
-
getter/setter pair
- number ↔ String?
-
getter/setter pair
- providerReference ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token ↔ String?
-
getter/setter pair
Methods
-
copyWith(
{CardBrand? brand, String? client, String? expiration, String? token, Address? address, String? customer, String? cardholderName, String? currency, String? number, String? cvv, String? lastFour, String? providerReference, bool? active}) → Card - Specify how to clone the concrete class.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toMap(
{bool databaseFormat = false}) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object? other) → bool - The equality operator.