removePortNameMapping method

bool removePortNameMapping (String name)

Removes a name to SendPort mapping given a name. Returns true if the mapping was successfully removed, false if the mapping does not exist.

name must not be null.

Implementation

static bool removePortNameMapping(String name) {
  assert(name != null, "'name' cannot be null.");
  return _removePortNameMapping(name);
}