getExecutionResult method

DartBlockExecutionResult getExecutionResult()

Implementation

DartBlockExecutionResult getExecutionResult() {
  return DartBlockExecutionResult(
    consoleOutput: consoleOutput,
    environment: environment.toJson(),
    currentStatementBlockKey: _currentStatementBlockKey,
    currentStatement: _currentStatement?.toJson(),
    blockHistory: List.from(_blockHistory),
    exception: _thrownException?.toJson(),
  );
}