dismissAllToast function

void dismissAllToast (
  1. {bool showAnim: false}
)

use the method to dismiss all toast.

Implementation

void dismissAllToast({bool showAnim = false}) {
  ToastManager().dismissAll(showAnim: showAnim);
}