onChange method

Future<bool> onChange(
  1. BuildContext? context
)

Implementation

Future<bool> onChange(BuildContext? context) async {
  //set alarming to false when the value is updated
  if(value != null && !S.isNullOrEmpty(systemerrortext) && error == true){
    error = false;
    systemerrortext = null;
  }
  return await EventHandler(this).execute(_onchange);
}