lookupPortByName method

SendPort lookupPortByName (String name)

Looks up the SendPort associated with a given name. Returns null if the name does not exist.

name must not be null.

Implementation

static SendPort lookupPortByName(String name) {
  assert(name != null, "'name' cannot be null.");
  return _lookupPortByName(name);
}