evalRawSync method

String evalRawSync(
  1. String code, {
  2. Duration? timeout,
  3. String name = '<eval>',
  4. Map<String, Object?> tempGlobals = const {},
})

Evaluates immediately and returns the raw bridge string.

Implementation

String evalRawSync(
  String code, {
  Duration? timeout,
  String name = '<eval>',
  Map<String, Object?> tempGlobals = const {},
}) {
  _ensureOpen();
  return _engine.evalRawSync(
    code,
    timeout: timeout,
    name: name,
    tempGlobals: tempGlobals,
  );
}