getAllAccounts method

List<Account> getAllAccounts()

Gets all currently cached unique accounts based on homeAccountIdentifier.

Implementation

List<Account> getAllAccounts() {
  return _callJsMethod(() => _jsObject
      .getAllAccounts()
      .cast<interop.Account>()
      .map((jsAccount) => Account._fromJsObject(jsAccount))
      .toList());
}