ITransactionRepository class Null safety
Transaction repository interface
- Implementers
Constructors
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
-
addTransaction(
String userId, Transaction transaction) → Future< Transaction> - Add new transaction (done by the user)
-
getList(
String userId, String? cardId) → Future< List< Transaction> > - Get list of transactions of the card (cardId) of the user (userId) and return the result as list of Transaction
-
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