abort method

void abort()

Aborts the current process abnormally. Maps to exit(1) on native platforms and throws UnsupportedError on Web.

Implementation

void abort() {
  stdlibAbort();
}