Google celebrates Hispanic Heritage Month. See how.

unbind method

InterfaceRequest<T> unbind ()

Unbinds impl and returns the unbound channel as an interface request.

Stops listening for messages on the bound channel, wraps the channel in an interface request of the appropriate type, and returns that interface request.

The object must have previously been bound (e.g., using bind).


InterfaceRequest<T> unbind() {
  final InterfaceRequest<T> result = InterfaceRequest<T>(_reader.unbind());
  _impl = null;

  final callback = onUnbind;
  if (callback != null) {

  return result;