resume method

Future resume (
  1. {VMStep step}
)

Resumes execution of this isolate, if it's paused.

step controls how execution proceeds; it defaults to VMStep.resume.

Throws an rpc.RpcException if the isolate isn't paused.

Implementation

Future resume({VMStep step}) {
  if (step == null) step = VMStep.resume;
  return _scope.sendRequest(
      "resume", step == VMStep.resume ? {} : {"step": step._value});
}