setSelectedAccountById method
Set account as selected by its id
Implementation
void setSelectedAccountById(int accId) {
int index = _accounts.indexWhere((a) => a.myAccId==accId);
if(index != -1) _selectAccount(index);
}
Set account as selected by its id
void setSelectedAccountById(int accId) {
int index = _accounts.indexWhere((a) => a.myAccId==accId);
if(index != -1) _selectAccount(index);
}