TransactionRepository class Null safety

Transaction repository implementation of ITransactionRepository

Implemented types

Constructors

TransactionRepository()

Properties

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

Methods

addTransaction(String userId, Transaction transaction) Future<Transaction>
Add new transaction (done by the user)
override
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
override
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