executorProvider top-level property
Derived provider that creates an executor for the current program. Keeps track of the execution result, including the console output and any exception that was thrown.
Implementation
final executorProvider = Provider<DartBlockExecutor>((ref) {
final program = ref.watch(programProvider);
return DartBlockExecutor(program);
});