setUserId method
Implementation
void setUserId(String? userId) async {
if(userId != null){
await CoreDb.instance()._writeData({_USER_ID:userId});
}else{
await CoreDb.instance()._writeData({_USER_ID:""});
}
}
void setUserId(String? userId) async {
if(userId != null){
await CoreDb.instance()._writeData({_USER_ID:userId});
}else{
await CoreDb.instance()._writeData({_USER_ID:""});
}
}