setName method

void setName(
  1. String name
)

Sets the remote debugging name for a context. name (JSString) The remote debugging name to set on ctx.

Implementation

void setName(String name) {
  final JSString jstr = JSString.fromString(name);
  return JSGlobalContextSetName(_ref, jstr.ref);
}