Google is committed to advancing racial equity for Black communities. See how.

ProxyController<T> constructor

ProxyController<T>({String $serviceName, String $interfaceName})

Creates proxy controller.

Proxy controllers are not typically created directly. Instead, you typically obtain a ProxyController<T> object as the Proxy<T>.ctrl property of a TProxy object.

Implementation

ProxyController({this.$serviceName, this.$interfaceName}) {
  _reader
    ..onReadable = _handleReadable
    ..onError = _handleError;
}