AddCardUseCase class Null safety

Adding a new card use case class implementation

Inheritance

Constructors

AddCardUseCase()

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(AddCardParams params) Future<Either<Failure, PaymentCard>>
Execute the use case and return either a Failure when an error has occurred or PaymentCard if 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