fetch method

dynamic fetch(
  1. String varName, {
  2. String? moduleName,
})

Get a top level variable defined in a certain namespace in the interpreter.

Implementation

dynamic fetch(
  String varName, {
  String? moduleName,
}) =>
    interpreter.fetch(
      varName,
      moduleName: moduleName,
    );