alert function

void alert([
  1. String? message
])

Shows the given message and waits for the enter key pressed.

If the stdin is not interactive, it does nothing.

Implementation

void alert([_i2.String? message]) {
  _i4.callMethod(
    _self,
    'alert',
    [message ?? _i6.undefined],
  );
}