evaluateString abstract method

Future<String?> evaluateString(
  1. String expression, {
  2. bool rethrowErrors = false,
})

Evaluates expression and returns its valueAsString, transparently refetching via getObject when the value is truncated past the 128-char preview. Returns null for a non-string result, and for an eval error unless rethrowErrors, which rethrows the RuntimeEvalError.

Implementation

Future<String?> evaluateString(String expression, {bool rethrowErrors = false});