pingCount method Null safety

int pingCount()

Implementation

int pingCount() {
  return _pingCount;
}