MockFinancekitPlatform class

Inheritance

Constructors

MockFinancekitPlatform()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accounts() Future<List<FinancialAccount>>
Returns all financial accounts the user has authorized access to.
override
accountUpdates() Stream<List<FinancialAccount>>
A stream that emits the full updated account list whenever accounts are added, modified, or removed.
override
authorizationStatus() Future<AuthorizationStatus>
Returns the current FinanceKit authorization status without prompting.
override
balanceHistory(String accountId) Future<List<AccountBalance>>
Returns all stored balance snapshots for the given accountId.
override
currentBalance(String accountId) Future<AccountBalance?>
Returns the most recent AccountBalance for the given accountId, or null if no balance is on record.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestAuthorization() Future<AuthorizationStatus>
Requests FinanceKit authorization, displaying the system prompt if needed.
override
toString() String
A string representation of this object.
inherited
transactions([TransactionQuery query = const TransactionQuery()]) Future<List<Transaction>>
Returns transactions matching the provided query.
override
transactionUpdates([TransactionQuery query = const TransactionQuery()]) Stream<List<Transaction>>
A stream that emits an updated list of transactions whenever FinanceKit reports a change.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

enable() → void