dismiss method

void dismiss()

Implementation

void dismiss() {
  if (hudContext == null) {
    assert(false, 'hudContext should not be null.');
    return;
  }
  Navigator.of(hudContext!).pop();
}