exit method

Future<void> exit(
  1. int code
)

Implementation

Future<void> exit(int code) async {
  await -this;
  io.exit(code);
}