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

Binding<T> constructor


Creates a binding object in an unbound state.

Rather than creating a Binding<T> object directly, you typically create a TBinding object, which are subclasses of Binding<T> created by the FIDL compiler for a specific interface.


Binding() {
    ..onReadable = _handleReadable
    ..onError = _handleError;