addAlert method
Implementation
void addAlert(OverAlertModel model) {
_alertModelList.add(model);
_animatedListKey.currentState!.insertItem(_alertModelList.length - 1, duration: OverExtension.kAlertAnimationDuration);
if (model.autoClose == true) {
Future.delayed(Duration(seconds: 3)).then((value) => removeAlert(model));
}
}