checkLastTagWas method Null safety

void checkLastTagWas(
  1. int value
)

Implementation

void checkLastTagWas(int value) {
  if (_lastTag != value) {
    throw InvalidProtocolBufferException.invalidEndTag();
  }
}