setData method Null safety
Implementation
void setData(Map<String, dynamic> data) {
// Save the data from the controllers
formValueMap = data;
// Reset the form status
setValidationMessage(null);
// Set the new form status
setFormStatus();
// Rebuild the UI
notifyListeners();
}