EditCardUseCase class Null safety
Editing a card use case class implementation
- Inheritance
- Object
- UseCase<
PaymentCard, EditCardParams> - EditCardUseCase
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- repository ↔ IPaymentCardRepository
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- storage ↔ Storage
-
Local app storage
read / write, inherited
Methods
-
execute(
EditCardParams params) → Future< Either< Failure, PaymentCard> > -
Execute the use case and return a Failure when an error has occurred and the PaymentCard is the card is saved
override
-
getAccessToken(
) → Future< String> -
Return the user access_token
inherited
-
getUserId(
) → Future< String> -
Return the user id
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited