setValue method
Recebe um map e preencher o input. Pesquise o valor de acordo com a key do metood get name
Implementation
@override
void setValue(Map<String, dynamic> values) {
descricao.controller.text = values[name]?['descricao'] ?? "";
id.controller.text = values[name]?['id']?.toString() ?? "";
if (obrigatorio && id.value.isEmpty && valorinicial != null) {
id.controller.text = valorinicial!['id'].toString();
descricao.controller.text = valorinicial!['descricao'];
}
}