currentAccount property
set
currentAccount
(int? accountId)
Implementation
set currentAccount(int? accountId) {
if (_currentAccount == null && _oldAccount == null) {
_currentAccount = accountId;
_oldAccount = _currentAccount;
} else {
if (_oldAccount != accountId) {
_oldAccount = _currentAccount;
_currentAccount = accountId;
}
}
}