setUserMoney method
Implementation
void setUserMoney(String? money) {
if (money?.isEmpty == false) {
if (int.parse(money ?? '0') > int.parse(userEntity.money ?? '0')) {
userEntity.paidUser = '1';
}
userEntity.money = money;
super.notifyListeners();
}
}