PaymentCardRepository class Null safety
Payment card repository implementation of IPaymentCardRepository
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- paymentCardService ↔ IPaymentCardService
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
addCard(
String userId, PaymentCard card) → Future< PaymentCard> -
Add new card to user
override
-
getList(
String userId) → Future< List< PaymentCard> > -
Get list of user's payment card and return list of PaymentCard
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
removeCard(
String userId, String cardId) → Future -
Remove the card having the id
cardId
override -
toString(
) → String -
A string representation of this object. [...]
inherited
-
updateCard(
String userId, PaymentCard card) → Future< PaymentCard> -
Update the card infos and return it as
PaymentCard
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited