IPaymentCardService class Null safety

Payment cards data source interface

Implementers

Constructors

IPaymentCardService()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addCard(String userId, PaymentCardModel card) Future<PaymentCardModel>
Add new card for the user
getList(String userId) Future<List<PaymentCardModel>>
Fetch the list of cards for the user
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeCard(String userId, String cardId) Future
Delete the card (cardId) for the user
toString() String
A string representation of this object. [...]
inherited
updateCard(String userId, PaymentCardModel card) Future<PaymentCardModel>
Update an existing card for the user

Operators

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