fromModel method
void
fromModel(
- M model
Converts the form group from a model of type M.
Implementation
void fromModel(M model) {
if (model is Map<String, dynamic>) {
setValue(model, notify: false);
refreshAll();
notifyListeners();
return;
}
throw UnsupportedError(
'fromModel() não implementado para $runtimeType.',
);
}