errorAlert method

dynamic errorAlert({
  1. String title = '',
  2. String message = '',
  3. int duration = 3,
})

Implementation

errorAlert({String title = '', String message = '', int duration = 3}) {
  _alert(title: title, message: message, duration: duration, isSuccess: false);
}