FlutterFinancekitPlatform class abstract

The interface that platform implementations must extend.

Platform implementations should extend this class rather than implement it as flutter_financekit does not consider newly added methods to be breaking changes. Extending guarantees that the subclass will get the default implementation, while platform implementations that implements this interface will be broken by newly added FlutterFinancekitPlatform methods.

Inheritance
  • Object
  • PlatformInterface
  • FlutterFinancekitPlatform
Implementers

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.
accountUpdates() Stream<List<FinancialAccount>>
A stream that emits the full updated account list whenever accounts are added, modified, or removed.
authorizationStatus() Future<AuthorizationStatus>
Returns the current FinanceKit authorization status without prompting.
balanceHistory(String accountId) Future<List<AccountBalance>>
Returns all stored balance snapshots for the given accountId.
currentBalance(String accountId) Future<AccountBalance?>
Returns the most recent AccountBalance for the given accountId, or null if no balance is on record.
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.
toString() String
A string representation of this object.
inherited
transactions(TransactionQuery query) Future<List<Transaction>>
Returns transactions matching the provided query.
transactionUpdates(TransactionQuery query) Stream<List<Transaction>>
A stream that emits an updated list of transactions whenever FinanceKit reports a change.

Operators

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

Static Properties

instance FlutterFinancekitPlatform
The default instance of FlutterFinancekitPlatform to use.
getter/setter pair