getSourceCodeWithScriptId method

Future<String?> getSourceCodeWithScriptId(
  1. String scriptId
)

Implementation

Future<String?> getSourceCodeWithScriptId(String scriptId) async {
  Obj script = await serviceWrapper.getObject(scriptId);
  if (script is Script) {
    return script.source;
  }
  return null;
}