0
Good afternoon!
I’ve got an item error repo.senha
and repo.nome
.
void atualizar(Repositor repo) async {
var update = Map<String, String>();
update.putIfAbsent("senha", repo.senha);
update.putIfAbsent("nome", repo.nome);
await _userRef.child(repo.cpf).update(update).then((_) {
print("Update Sucess");
});
}
the msg passes is:
The argument type 'String' can’t be Assigned to the Parameter type 'String Function()'
Please read friend: https://pt.meta.stackoverflow.com/questions/5483/manual-de-como-n%C3%83o-faq? cb=1
– Julio Henrique Bitencourt