onStateChanged property

  1. @override
void onStateChanged=(void cb(ConnectionState))

Set state change listener for this connection. The given callback will be invoked when the state of this connection changes.

Implementation

@override
set onStateChanged(void Function(grpc_core.ConnectionState) cb) {
  // Unsupported at the moment.
}