pongCallback property Null safety

PongCallback? pongCallback

The ping received callback

Implementation

PongCallback? get pongCallback => _pongCallback;
void pongCallback=(PongCallback? cb)

Implementation

set pongCallback(PongCallback? cb) {
  _pongCallback = cb;
  keepAlive?.pongCallback = cb;
}