getAccountByHomeId method
Returns the signed in account matching homeAccountId
(the account object is created at the time of successful login)
or null
when no matching account is found.
Implementation
AccountInfo? getAccountByHomeId(String homeAccountId) {
return _callJsMethod(() {
final jsAccount = _jsObject.getAccountByHomeId(homeAccountId);
return jsAccount == null ? null : AccountInfo._fromJsObject(jsAccount);
});
}