setErrorForModelOrObject method
Implementation
void setErrorForModelOrObject(dynamic value, {Object? key}) {
if (key != null) {
setErrorForObject(key, value);
} else {
setErrorForObject(this, value);
}
}
void setErrorForModelOrObject(dynamic value, {Object? key}) {
if (key != null) {
setErrorForObject(key, value);
} else {
setErrorForObject(this, value);
}
}