setName method

Future setName (
  1. String name
)

Sets the name of the isolate.

Note that since this object is immutable, it needs to be reloaded to see the new name.

Implementation

Future setName(String name) => _scope.sendRequest("setName", {"name": name});